We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecbb5d8 commit 12c0329Copy full SHA for 12c0329
1 file changed
apps/files_sharing/src/mixins/SharesMixin.js
@@ -291,9 +291,10 @@ export default {
291
this.open = false
292
await this.deleteShare(this.share.id)
293
logger.debug('Share deleted', { shareId: this.share.id })
294
+ const path = this.share.path.replace(/^\//, '')
295
const message = this.share.itemType === 'file'
- ? t('files_sharing', 'File "{path}" has been unshared', { path: this.share.path })
296
- : t('files_sharing', 'Folder "{path}" has been unshared', { path: this.share.path })
+ ? t('files_sharing', 'File "{path}" has been unshared', { path })
297
+ : t('files_sharing', 'Folder "{path}" has been unshared', { path })
298
showSuccess(message)
299
this.$emit('remove:share', this.share)
300
await this.getNode()
0 commit comments