Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(files): close submenu on main actions state change
Signed-off-by: skjnldsv <[email protected]>
  • Loading branch information
skjnldsv authored and backportbot[bot] committed Jan 10, 2025
commit 11aeefaf04272fdfca07c7517ac2934f63f2cbd6
7 changes: 7 additions & 0 deletions apps/files/src/components/FileEntry/FileEntryActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down