Skip to content

Commit

Permalink
Merge pull request #50125 from nextcloud/backport/50123/stable30
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Jan 22, 2025
2 parents 031aebe + d1933dd commit 90e45ea
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion apps/files/src/components/FileEntry/FileEntryActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<template #icon>
<ArrowLeftIcon />
</template>
{{ actionDisplayName(openedSubmenu) }}
{{ t('files', 'Back') }}
</NcActionButton>
<NcActionSeparator />

Expand Down Expand Up @@ -241,6 +241,13 @@ export default defineComponent({
},
},

watch: {
// Close any submenu when the menu is closed
openedMenu() {
this.openedSubmenu = null
},
},

methods: {
actionDisplayName(action: FileAction) {
try {
Expand Down
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit 90e45ea

Please sign in to comment.