mirror of
https://github.com/immich-app/immich.git
synced 2026-03-08 11:07:25 +03:00
chore(web): context menu improvements (#10475)
- ability to add custom hover colors - migrate activity menu to ButtonContextMenu component - onClick callbacks rather than events for menu options - remove slots - configurable menu option colors - improve menu option layout
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
</script>
|
||||
|
||||
{#if menuItem}
|
||||
<MenuOption {text} {icon} on:click={handleFavorite} />
|
||||
<MenuOption {text} {icon} onClick={handleFavorite} />
|
||||
{/if}
|
||||
|
||||
{#if !menuItem}
|
||||
|
||||
Reference in New Issue
Block a user