Key links by URL as the svelte-spa-router link svelte action does not update correctly
This commit is contained in:
parent
3212d2f447
commit
7886b383f5
|
@ -79,18 +79,20 @@
|
||||||
{componentText}
|
{componentText}
|
||||||
</a>
|
</a>
|
||||||
{:else}
|
{:else}
|
||||||
<a
|
{#key url}
|
||||||
use:linkable
|
<a
|
||||||
href={url || "/"}
|
use:linkable
|
||||||
use:styleable={styles}
|
href={url || "/"}
|
||||||
class:placeholder
|
use:styleable={styles}
|
||||||
class:bold
|
class:placeholder
|
||||||
class:italic
|
class:bold
|
||||||
class:underline
|
class:italic
|
||||||
class="align--{align || 'left'} size--{size || 'M'}"
|
class:underline
|
||||||
>
|
class="align--{align || 'left'} size--{size || 'M'}"
|
||||||
{componentText}
|
>
|
||||||
</a>
|
{componentText}
|
||||||
|
</a>
|
||||||
|
{/key}
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue