Merge pull request #18701 from nextcloud/fix/18632/show_info_when_no_others_with_access_found
Show message if no other users with access are found
This commit is contained in:
commit
33039a4c97
3 changed files with 7 additions and 1 deletions
BIN
apps/files_sharing/js/dist/files_sharing_tab.js
vendored
BIN
apps/files_sharing/js/dist/files_sharing_tab.js
vendored
Binary file not shown.
BIN
apps/files_sharing/js/dist/files_sharing_tab.js.map
vendored
BIN
apps/files_sharing/js/dist/files_sharing_tab.js.map
vendored
Binary file not shown.
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue