diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2025-01-10 12:31:07 +0100 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2025-01-22 08:22:33 +0000 |
commit | a2d6ad801486a3bab22db2a0e0d51aacd953344c (patch) | |
tree | 7572b6084a2f72b6d146489b1f6433e9222a734b | |
parent | bf1050bc052bd59596085e42479276fff5539f9f (diff) | |
download | nextcloud-server-a2d6ad801486a3bab22db2a0e0d51aacd953344c.tar.gz nextcloud-server-a2d6ad801486a3bab22db2a0e0d51aacd953344c.zip |
fix(files): close submenu on main actions state change
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
-rw-r--r-- | apps/files/src/components/FileEntry/FileEntryActions.vue | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryActions.vue b/apps/files/src/components/FileEntry/FileEntryActions.vue index a536546f847..54c40ecfe84 100644 --- a/apps/files/src/components/FileEntry/FileEntryActions.vue +++ b/apps/files/src/components/FileEntry/FileEntryActions.vue @@ -257,6 +257,13 @@ export default defineComponent({ }, }, + watch: { + // Close any submenu when the menu is closed + openedMenu() { + this.openedSubmenu = null + }, + }, + methods: { actionDisplayName(action: FileAction) { try { |