diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2025-01-10 14:26:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-10 14:26:59 +0100 |
commit | 184e715e848514d321363095b4bccd368f6d9bf1 (patch) | |
tree | da2a49ee60d1b4bde31fecd431f91cdb683937f8 /apps | |
parent | b2c74916162783bee841bec2227a46588ac31ecf (diff) | |
parent | 24490f3462af8394c98b85c976f44af5015feab2 (diff) | |
download | nextcloud-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.vue | 9 |
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, |