diff options
author | Simon L <szaimen@e.mail.de> | 2023-11-07 14:40:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-07 14:40:14 +0100 |
commit | b49400cc18fc4726da7f7b581c76f37481467592 (patch) | |
tree | a6aee8c01cd1d5f13ee4aba8127581aa4d8b761f /apps | |
parent | 84d2a9b3d043ddcb7e0894d771d661559e7b1955 (diff) | |
parent | 14b5e56ca3fd18d802b4d27fbc3e6595386979c0 (diff) | |
download | nextcloud-server-b49400cc18fc4726da7f7b581c76f37481467592.tar.gz nextcloud-server-b49400cc18fc4726da7f7b581c76f37481467592.zip |
Merge pull request #41298 from nextcloud/enh/noid/fix-sharing-description
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/src/components/FileEntry/FileEntryActions.vue | 2 | ||||
-rw-r--r-- | apps/files_sharing/src/actions/sharingStatusAction.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryActions.vue b/apps/files/src/components/FileEntry/FileEntryActions.vue index bd4649cdee5..688524962f5 100644 --- a/apps/files/src/components/FileEntry/FileEntryActions.vue +++ b/apps/files/src/components/FileEntry/FileEntryActions.vue @@ -191,7 +191,7 @@ export default Vue.extend({ methods: { actionDisplayName(action: FileAction) { - if (this.filesListWidth < 768 && action.inline && typeof action.title === 'function') { + if ((this.gridMode || (this.filesListWidth < 768 && action.inline)) && typeof action.title === 'function') { // if an inline action is rendered in the menu for // lack of space we use the title first if defined const title = action.title([this.source], this.currentView) diff --git a/apps/files_sharing/src/actions/sharingStatusAction.ts b/apps/files_sharing/src/actions/sharingStatusAction.ts index 01052676aa4..376f294d1e5 100644 --- a/apps/files_sharing/src/actions/sharingStatusAction.ts +++ b/apps/files_sharing/src/actions/sharingStatusAction.ts @@ -66,7 +66,7 @@ export const action = new FileAction({ return t('files_sharing', 'Shared by {ownerDisplayName}', { ownerDisplayName }) } - return '' + return t('files_sharing', 'Show sharing options') }, iconSvgInline(nodes: Node[]) { |