mirror of
https://github.com/immich-app/immich.git
synced 2025-11-05 20:13:11 -05:00
fix(web): prevent photo-only memories showing mute button (#22802)
This commit is contained in:
parent
02beb85642
commit
72f5ca4420
@ -403,16 +403,18 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="w-[50px] dark">
|
{#if currentTimelineAssets.some(({ isVideo }) => isVideo)}
|
||||||
<IconButton
|
<div class="w-[50px] dark">
|
||||||
shape="round"
|
<IconButton
|
||||||
variant="ghost"
|
shape="round"
|
||||||
color="secondary"
|
variant="ghost"
|
||||||
aria-label={$videoViewerMuted ? $t('unmute_memories') : $t('mute_memories')}
|
color="secondary"
|
||||||
icon={$videoViewerMuted ? mdiVolumeOff : mdiVolumeHigh}
|
aria-label={$videoViewerMuted ? $t('unmute_memories') : $t('mute_memories')}
|
||||||
onclick={() => ($videoViewerMuted = !$videoViewerMuted)}
|
icon={$videoViewerMuted ? mdiVolumeOff : mdiVolumeHigh}
|
||||||
/>
|
onclick={() => ($videoViewerMuted = !$videoViewerMuted)}
|
||||||
</div>
|
/>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</ControlAppBar>
|
</ControlAppBar>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user