mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #41656 from nextcloud/enh/41620/shared-label-takes-a-lot-of-space-in-files-list
Show shared label only if the current user have shared the file.
This commit is contained in:
commit
0309faa60b
3 changed files with 8 additions and 4 deletions
|
|
@ -58,7 +58,7 @@
|
|||
<NcLoadingIcon v-if="loading === action.id" :size="18" />
|
||||
<NcIconSvgWrapper v-else :svg="action.iconSvgInline([source], currentView)" />
|
||||
</template>
|
||||
{{ actionDisplayName(action) }}
|
||||
{{ mountType === 'shared' && action.id === 'sharing-status' ? '' : actionDisplayName(action) }}
|
||||
</NcActionButton>
|
||||
|
||||
<!-- Submenu actions list-->
|
||||
|
|
@ -253,6 +253,10 @@ export default Vue.extend({
|
|||
getBoundariesElement() {
|
||||
return document.querySelector('.app-content > .files-list')
|
||||
},
|
||||
|
||||
mountType() {
|
||||
return this.source._attributes['mount-type']
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
|
|||
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue