mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 10:40:40 -04:00
fix(files): close submenu on main actions state change
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
031aebed3b
commit
71e6fbed6e
1 changed files with 7 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue