Merge pull request #41298 from nextcloud/enh/noid/fix-sharing-description

This commit is contained in:
Simon L 2023-11-07 14:40:14 +01:00 committed by GitHub
commit b49400cc18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View file

@ -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)

View file

@ -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[]) {

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long