aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2025-01-10 14:26:59 +0100
committerGitHub <noreply@github.com>2025-01-10 14:26:59 +0100
commit184e715e848514d321363095b4bccd368f6d9bf1 (patch)
treeda2a49ee60d1b4bde31fecd431f91cdb683937f8 /apps
parentb2c74916162783bee841bec2227a46588ac31ecf (diff)
parent24490f3462af8394c98b85c976f44af5015feab2 (diff)
downloadnextcloud-server-184e715e848514d321363095b4bccd368f6d9bf1.tar.gz
nextcloud-server-184e715e848514d321363095b4bccd368f6d9bf1.zip
Merge pull request #50126 from nextcloud/backport/50123/master
Diffstat (limited to 'apps')
-rw-r--r--apps/files/src/components/FileEntry/FileEntryActions.vue9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryActions.vue b/apps/files/src/components/FileEntry/FileEntryActions.vue
index 0bbac99bf48..4e7bec88452 100644
--- a/apps/files/src/components/FileEntry/FileEntryActions.vue
+++ b/apps/files/src/components/FileEntry/FileEntryActions.vue
@@ -52,7 +52,7 @@
<template #icon>
<ArrowLeftIcon />
</template>
- {{ actionDisplayName(openedSubmenu) }}
+ {{ t('files', 'Back') }}
</NcActionButton>
<NcActionSeparator />
@@ -244,6 +244,13 @@ export default defineComponent({
},
},
+ watch: {
+ // Close any submenu when the menu is closed
+ openedMenu() {
+ this.openedSubmenu = null
+ },
+ },
+
created() {
useHotKey('Escape', this.onKeyDown, {
stop: true,