diff options
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, |