format/check
This commit is contained in:
@@ -134,14 +134,14 @@
|
|||||||
{#if !!onSelectAsset && assetInteraction?.selectionActive}
|
{#if !!onSelectAsset && assetInteraction?.selectionActive}
|
||||||
<p class="text-lg text-immich-fg dark:text-immich-dark-fg">
|
<p class="text-lg text-immich-fg dark:text-immich-dark-fg">
|
||||||
{#if selected}
|
{#if selected}
|
||||||
{$t('selected')}
|
{$t('selected')}
|
||||||
{:else}
|
{:else}
|
||||||
{$t('select')}
|
{$t('select')}
|
||||||
{/if}
|
{/if}
|
||||||
</p>
|
</p>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onclick={()=>onSelectAsset(toTimelineAsset(asset))}
|
onclick={() => onSelectAsset(toTimelineAsset(asset))}
|
||||||
class={['focus:outline-none']}
|
class={['focus:outline-none']}
|
||||||
role="checkbox"
|
role="checkbox"
|
||||||
tabindex={-1}
|
tabindex={-1}
|
||||||
|
|||||||
@@ -219,7 +219,7 @@
|
|||||||
{showArchiveIcon}
|
{showArchiveIcon}
|
||||||
{asset}
|
{asset}
|
||||||
{groupIndex}
|
{groupIndex}
|
||||||
onClick={(asset, forceView:boolean = false) => {
|
onClick={(asset, forceView: boolean = false) => {
|
||||||
if (typeof onThumbnailClick === 'function') {
|
if (typeof onThumbnailClick === 'function') {
|
||||||
onThumbnailClick(asset, timelineManager, dayGroup, _onClick);
|
onThumbnailClick(asset, timelineManager, dayGroup, _onClick);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user