Skip to content

Commit

Permalink
fix(files_sharing): Do not nothing pre-create share actions menu closed
Browse files Browse the repository at this point in the history
- This fixes the issue of having the refresh the UI after share creation, as the share is not
immediately removed from the UI list.

- We explicitly call cancel, when the cancel button is pressed, if click-outside, it's okay
to do nothing, new share proccesses starts with a new share object.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
  • Loading branch information
Fenn-CS committed Apr 2, 2024
1 parent 1fe8f1c commit c6a0d7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/files_sharing/src/components/SharingEntryLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@
class="sharing-entry__actions"
:aria-label="actionsTooltip"
menu-align="right"
:open.sync="open"
@close="onCancel">
:open.sync="open">
<!-- pending data menu -->
<NcActionText v-if="errors.pending" icon="icon-error" :class="{ error: errors.pending }">
{{ errors.pending }}
Expand Down

0 comments on commit c6a0d7c

Please sign in to comment.