Skip to content

Commit

Permalink
fix: remove references to non-existent ShareTypes
Browse files Browse the repository at this point in the history
A refactor was done to remove ShareTypes in and an incomplete backport of
00c2b94 left incorrect references to shareTypes.

Signed-off-by: nfebe <[email protected]>
  • Loading branch information
nfebe committed Jan 2, 2025
1 parent ac9bc09 commit 3333f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/files_sharing/src/views/SharingDetailsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,9 @@ export default {
switch (this.share.type) {
case ShareType.User:
return t('files_sharing', 'Share with {userName}', { userName: this.share.shareWithDisplayName })
case this.SHARE_TYPES.SHARE_TYPE_EMAIL:
case ShareType.Email:
return t('files_sharing', 'Share with email {email}', { email: this.share.shareWith })
case this.SHARE_TYPES.SHARE_TYPE_LINK:
case ShareType.Link:
return t('files_sharing', 'Share link')
case ShareType.Group:
return t('files_sharing', 'Share with group')
Expand Down

0 comments on commit 3333f7c

Please sign in to comment.