Skip to content

Commit 184e715

Browse files
authored
Merge pull request #50126 from nextcloud/backport/50123/master
2 parents b2c7491 + 24490f3 commit 184e715

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

apps/files/src/components/FileEntry/FileEntryActions.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<template #icon>
5353
<ArrowLeftIcon />
5454
</template>
55-
{{ actionDisplayName(openedSubmenu) }}
55+
{{ t('files', 'Back') }}
5656
</NcActionButton>
5757
<NcActionSeparator />
5858

@@ -244,6 +244,13 @@ export default defineComponent({
244244
},
245245
},
246246
247+
watch: {
248+
// Close any submenu when the menu is closed
249+
openedMenu() {
250+
this.openedSubmenu = null
251+
},
252+
},
253+
247254
created() {
248255
useHotKey('Escape', this.onKeyDown, {
249256
stop: true,

dist/files-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)