Update button title dynamically based on state

This commit is contained in:
marpeand 2024-02-06 16:52:03 -03:00
parent 32dd7668ea
commit ee11e5f8cc

View File

@ -250,7 +250,7 @@
</a>
{#if svgInfo.wordmark !== undefined}
<button
title="Show wordmark SVG"
title={wordmarkSvg ? 'Show logo SVG' : 'Show wordmark SVG'}
on:click={() => {
wordmarkSvg = !wordmarkSvg;
}}