summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/views/SharingInherited.vue8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/files_sharing/src/views/SharingInherited.vue b/apps/files_sharing/src/views/SharingInherited.vue
index 64c0132e05e..5c466202606 100644
--- a/apps/files_sharing/src/views/SharingInherited.vue
+++ b/apps/files_sharing/src/views/SharingInherited.vue
@@ -25,7 +25,8 @@
<!-- Main collapsible entry -->
<SharingEntrySimple
class="sharing-entry__inherited"
- :title="mainTitle">
+ :title="mainTitle"
+ :subtitle="subTitle">
<template #avatar>
<div class="avatar-shared icon-more-white" />
</template>
@@ -88,6 +89,11 @@ export default {
mainTitle() {
return t('files_sharing', 'Others with access')
},
+ subTitle() {
+ return (this.showInheritedShares && this.shares.length === 0)
+ ? t('files_sharing', 'No other users with access found')
+ : ''
+ },
toggleTooltip() {
return this.fileInfo.type === 'dir'
? t('files_sharing', 'Toggle list of others with access to this directory')