Skip to content

Commit 3333f7c

Browse files
committed
fix: remove references to non-existent ShareTypes
A refactor was done to remove ShareTypes in and an incomplete backport of 00c2b94 left incorrect references to shareTypes. Signed-off-by: nfebe <fenn25.fn@gmail.com>
1 parent ac9bc09 commit 3333f7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/files_sharing/src/views/SharingDetailsTab.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,9 @@ export default {
347347
switch (this.share.type) {
348348
case ShareType.User:
349349
return t('files_sharing', 'Share with {userName}', { userName: this.share.shareWithDisplayName })
350-
case this.SHARE_TYPES.SHARE_TYPE_EMAIL:
350+
case ShareType.Email:
351351
return t('files_sharing', 'Share with email {email}', { email: this.share.shareWith })
352-
case this.SHARE_TYPES.SHARE_TYPE_LINK:
352+
case ShareType.Link:
353353
return t('files_sharing', 'Share link')
354354
case ShareType.Group:
355355
return t('files_sharing', 'Share with group')

0 commit comments

Comments
 (0)