mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): prevent photo-only memories showing mute button (#22802)
This commit is contained in:
parent
02beb85642
commit
72f5ca4420
1 changed files with 12 additions and 10 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue