mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #41298 from nextcloud/enh/noid/fix-sharing-description
This commit is contained in:
commit
b49400cc18
6 changed files with 8 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
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
4
dist/files_sharing-init.js
vendored
4
dist/files_sharing-init.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-init.js.map
vendored
2
dist/files_sharing-init.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue