mirror of
https://github.com/nextcloud/server.git
synced 2026-03-24 19:33:49 -04:00
fix(files): close submenu on main actions state change
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
b2c7491616
commit
11aeefaf04
1 changed files with 7 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue