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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -25,7 +25,8 @@
|
||||||
<!-- Main collapsible entry -->
|
<!-- Main collapsible entry -->
|
||||||
<SharingEntrySimple
|
<SharingEntrySimple
|
||||||
class="sharing-entry__inherited"
|
class="sharing-entry__inherited"
|
||||||
:title="mainTitle">
|
:title="mainTitle"
|
||||||
|
:subtitle="subTitle">
|
||||||
<template #avatar>
|
<template #avatar>
|
||||||
<div class="avatar-shared icon-more-white" />
|
<div class="avatar-shared icon-more-white" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -88,6 +89,11 @@ export default {
|
||||||
mainTitle() {
|
mainTitle() {
|
||||||
return t('files_sharing', 'Others with access')
|
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() {
|
toggleTooltip() {
|
||||||
return this.fileInfo.type === 'dir'
|
return this.fileInfo.type === 'dir'
|
||||||
? t('files_sharing', 'Toggle list of others with access to this directory')
|
? t('files_sharing', 'Toggle list of others with access to this directory')
|
||||||
|
|
Loading…
Reference in New Issue