refactor(web): remove events from clickOutside action (#9943)

This commit is contained in:
Michel Heusschen
2024-06-02 14:20:11 +02:00
committed by GitHub
parent 5af67d159f
commit d1135db8cf
14 changed files with 18 additions and 61 deletions

View File

@@ -126,7 +126,7 @@
/>
{#if selectedMenuUser === user}
<ContextMenu {...position} on:outclick={() => (selectedMenuUser = null)}>
<ContextMenu {...position} onClose={() => (selectedMenuUser = null)}>
{#if role === AlbumUserRole.Viewer}
<MenuOption on:click={() => handleSetReadonly(user, AlbumUserRole.Editor)} text="Allow edits" />
{:else}