summaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/FileEntry/FileEntryActions.vue
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-11-07 12:07:03 +0100
committerSimon L <szaimen@e.mail.de>2023-11-07 12:07:03 +0100
commit9ea30dcab612b8b1d035525ab4ae3b1990d0022e (patch)
tree1540fcf4351a300565e4fa36f31336166248b9fd /apps/files/src/components/FileEntry/FileEntryActions.vue
parent71f1e419e29c3876867bc0838ad1baee022f7d5e (diff)
downloadnextcloud-server-9ea30dcab612b8b1d035525ab4ae3b1990d0022e.tar.gz
nextcloud-server-9ea30dcab612b8b1d035525ab4ae3b1990d0022e.zip
display inline title always
Signed-off-by: Simon L <szaimen@e.mail.de>
Diffstat (limited to 'apps/files/src/components/FileEntry/FileEntryActions.vue')
-rw-r--r--apps/files/src/components/FileEntry/FileEntryActions.vue2
1 files changed, 1 insertions, 1 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)