aboutsummaryrefslogtreecommitdiffstats
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:17:42 +0100
commit3a9d0324b3999e383312d9d19893ecc09fb56dc6 (patch)
treea5f866dea538cfe9230569061294b35853b54c2e
parent9d0cefd71d21c2ed064640e7868b527de8d69ec6 (diff)
downloadnextcloud-server-3a9d0324b3999e383312d9d19893ecc09fb56dc6.tar.gz
nextcloud-server-3a9d0324b3999e383312d9d19893ecc09fb56dc6.zip
display inline title always
Signed-off-by: Simon L <szaimen@e.mail.de>
-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)