Skip to content

Commit

Permalink
clicking the logo after the creation of the note should do a reset
Browse files Browse the repository at this point in the history
  • Loading branch information
KTamas committed Mar 15, 2024
1 parent e70f06f commit b00846c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/frontend/src/lib/views/Header.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
<script lang="ts">
import { status } from '$lib/stores/status'
function reset() {
window.location.reload()
}
</script>

<header>
<a href="/">
<a on:click={reset} href="/">
{#if $status?.theme_image}
<img alt="logo" src={$status.theme_image} />
{:else}
Expand Down

0 comments on commit b00846c

Please sign in to comment.