Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apps/files_sharing/src/mixins/SharesMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,10 @@ export default {
this.open = false
await this.deleteShare(this.share.id)
logger.debug('Share deleted', { shareId: this.share.id })
const path = this.share.path.replace(/^\//, '')
const message = this.share.itemType === 'file'
? t('files_sharing', 'File "{path}" has been unshared', { path: this.share.path })
: t('files_sharing', 'Folder "{path}" has been unshared', { path: this.share.path })
? t('files_sharing', 'File "{path}" has been unshared', { path })
: t('files_sharing', 'Folder "{path}" has been unshared', { path })
showSuccess(message)
this.$emit('remove:share', this.share)
await this.getNode()
Expand Down
4 changes: 2 additions & 2 deletions dist/1991-1991.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/1991-1991.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/files_sharing-files_sharing_tab.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/files_sharing-files_sharing_tab.js.map

Large diffs are not rendered by default.

Loading