diff options
author | Louis Chemineau <louis@chmn.me> | 2024-02-08 15:23:28 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2024-02-08 15:23:28 +0100 |
commit | d9d60238c7aaab9c61bf2d50c15aa59bc88c8975 (patch) | |
tree | 4f0277b12a3608c09a88a67f3934b6174e47ba1d /apps/files/src/components/FileEntry/FileEntryActions.vue | |
parent | ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d (diff) | |
parent | ca5f7adebc671b9e18ecdba0afda62fc23a381e4 (diff) | |
download | nextcloud-server-d9d60238c7aaab9c61bf2d50c15aa59bc88c8975.tar.gz nextcloud-server-d9d60238c7aaab9c61bf2d50c15aa59bc88c8975.zip |
Merge branch 'master' of github.com:nextcloud/server
Diffstat (limited to 'apps/files/src/components/FileEntry/FileEntryActions.vue')
-rw-r--r-- | apps/files/src/components/FileEntry/FileEntryActions.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryActions.vue b/apps/files/src/components/FileEntry/FileEntryActions.vue index c46990e971b..5dae3509f3b 100644 --- a/apps/files/src/components/FileEntry/FileEntryActions.vue +++ b/apps/files/src/components/FileEntry/FileEntryActions.vue @@ -35,7 +35,6 @@ <NcActions ref="actionsMenu" :boundaries-element="getBoundariesElement" :container="getBoundariesElement" - :disabled="isLoading || loading !== ''" :force-name="true" type="tertiary" :force-menu="enabledInlineActions.length === 0 /* forceMenu only if no inline actions */" @@ -272,6 +271,11 @@ export default Vue.extend({ }, async onActionClick(action, isSubmenu = false) { + // Skip click on loading + if (this.isLoading || this.loading !== '') { + return + } + // If the action is a submenu, we open it if (this.enabledSubmenuActions[action.id]) { this.openedSubmenu = action |