]> source.dussan.org Git - nextcloud-server.git/commitdiff
Tooltip outside click, should abort share creation
authorfenn-cs <fenn25.fn@gmail.com>
Fri, 8 Dec 2023 16:21:38 +0000 (17:21 +0100)
committerfenn-cs <fenn25.fn@gmail.com>
Mon, 11 Dec 2023 20:03:28 +0000 (21:03 +0100)
It's unexpected that click outside a tooltip would proceed with the
 action that could be carried out inside the tooltip.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
apps/files_sharing/src/components/SharingEntryLink.vue

index d14fc2b6df36cfe6706ce7fe435ed96c2fb97e9a..accc349f73471b4c81329095e5b3d800665d919a 100644 (file)
@@ -56,7 +56,7 @@
                        :aria-label="actionsTooltip"
                        menu-align="right"
                        :open.sync="open"
-                       @close="onNewLinkShare">
+                       @close="onCancel">
                        <!-- pending data menu -->
                        <NcActionText v-if="errors.pending" icon="icon-error" :class="{ error: errors.pending }">
                                {{ errors.pending }}