mirror of
https://github.com/immich-app/immich.git
synced 2025-06-05 14:44:41 -04:00
fix linting issues
This commit is contained in:
parent
1f6ad41d3f
commit
674bfef92d
@ -167,7 +167,7 @@
|
|||||||
{$t('role_editor')}
|
{$t('role_editor')}
|
||||||
{/if}
|
{/if}
|
||||||
{#if user.id !== album.ownerId}
|
{#if user.id !== album.ownerId}
|
||||||
<ButtonContextMenu icon={mdiDotsVertical} size="20" title={$t('options')}>
|
<ButtonContextMenu icon={mdiDotsVertical} size="medium" title={$t('options')}>
|
||||||
{#if role === AlbumUserRole.Viewer}
|
{#if role === AlbumUserRole.Viewer}
|
||||||
<MenuOption
|
<MenuOption
|
||||||
onClick={() => handleUpdateSharedUserRole(user, AlbumUserRole.Editor)}
|
onClick={() => handleUpdateSharedUserRole(user, AlbumUserRole.Editor)}
|
||||||
|
@ -65,9 +65,8 @@
|
|||||||
<div class="absolute top-2 end-2 z-1">
|
<div class="absolute top-2 end-2 z-1">
|
||||||
<ButtonContextMenu
|
<ButtonContextMenu
|
||||||
buttonClass="icon-white-drop-shadow focus:opacity-100 {showVerticalDots ? 'opacity-100' : 'opacity-0'}"
|
buttonClass="icon-white-drop-shadow focus:opacity-100 {showVerticalDots ? 'opacity-100' : 'opacity-0'}"
|
||||||
color="opaque"
|
color="primary"
|
||||||
padding="2"
|
size="medium"
|
||||||
size="20"
|
|
||||||
icon={mdiDotsVertical}
|
icon={mdiDotsVertical}
|
||||||
title={$t('show_person_options')}
|
title={$t('show_person_options')}
|
||||||
>
|
>
|
||||||
|
@ -103,11 +103,10 @@
|
|||||||
|
|
||||||
<div class="sm:hidden">
|
<div class="sm:hidden">
|
||||||
<ButtonContextMenu
|
<ButtonContextMenu
|
||||||
color="transparent"
|
color="primary"
|
||||||
title={$t('shared_link_options')}
|
title={$t('shared_link_options')}
|
||||||
icon={mdiDotsVertical}
|
icon={mdiDotsVertical}
|
||||||
size="24"
|
size="large"
|
||||||
padding="3"
|
|
||||||
hideContent
|
hideContent
|
||||||
>
|
>
|
||||||
<SharedLinkEdit menuItem sharedLink={link} />
|
<SharedLinkEdit menuItem sharedLink={link} />
|
||||||
|
@ -126,7 +126,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{#if isOwned}
|
{#if isOwned}
|
||||||
<ButtonContextMenu icon={mdiDotsVertical} size="20" title={$t('options')}>
|
<ButtonContextMenu icon={mdiDotsVertical} size="medium" title={$t('options')}>
|
||||||
{#if role === AlbumUserRole.Viewer}
|
{#if role === AlbumUserRole.Viewer}
|
||||||
<MenuOption onClick={() => handleSetReadonly(user, AlbumUserRole.Editor)} text={$t('allow_edits')} />
|
<MenuOption onClick={() => handleSetReadonly(user, AlbumUserRole.Editor)} text={$t('allow_edits')} />
|
||||||
{:else}
|
{:else}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user