diff --git a/web/src/lib/components/elements/dropdown.svelte b/web/src/lib/components/elements/dropdown.svelte index 36e76ae716..1168e77b9b 100644 --- a/web/src/lib/components/elements/dropdown.svelte +++ b/web/src/lib/components/elements/dropdown.svelte @@ -11,9 +11,9 @@ -
- - - - - {#if showMenu} -
+ + + {#snippet child({ props })} + + {/snippet} + + + - {#each options as option (option)} - {@const renderedOption = renderOption(option)} - {@const buttonStyle = renderedOption.disabled ? '' : 'transition-all hover:bg-gray-300 dark:hover:bg-gray-800'} - + {/each}
-

- {renderedOption.title} -

- {:else} -
-

- {renderedOption.title} -

- {/if} - - {/each} -
- {/if} - + + {/if} + {/snippet} + + + diff --git a/web/src/lib/modals/AlbumShareModal.svelte b/web/src/lib/modals/AlbumShareModal.svelte index 5bff5ab560..5ca33aa4c2 100644 --- a/web/src/lib/modals/AlbumShareModal.svelte +++ b/web/src/lib/modals/AlbumShareModal.svelte @@ -101,6 +101,7 @@ ({ title, icon })}