clicking the logo after the creation of the note should do a reset

This commit is contained in:
Tamás Kádár 2024-03-15 14:30:55 +00:00
parent e70f06f99f
commit b00846ce9d

View File

@ -1,9 +1,13 @@
<script lang="ts"> <script lang="ts">
import { status } from '$lib/stores/status' import { status } from '$lib/stores/status'
function reset() {
window.location.reload()
}
</script> </script>
<header> <header>
<a href="/"> <a on:click={reset} href="/">
{#if $status?.theme_image} {#if $status?.theme_image}
<img alt="logo" src={$status.theme_image} /> <img alt="logo" src={$status.theme_image} />
{:else} {:else}