diff options
| author | Fuwn <[email protected]> | 2023-12-28 17:50:24 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-28 17:50:24 -0800 |
| commit | fe45eb9885c25ec85b72ea3d939a5889945627c5 (patch) | |
| tree | 52b1d72cc4fc5f849c90b42c63e0313a5153c7fe /src/lib/List/Manga | |
| parent | refactor(api): remove unused api and mangadex (diff) | |
| download | due.moe-fe45eb9885c25ec85b72ea3d939a5889945627c5.tar.xz due.moe-fe45eb9885c25ec85b72ea3d939a5889945627c5.zip | |
feat: add umami events
Diffstat (limited to 'src/lib/List/Manga')
| -rw-r--r-- | src/lib/List/Manga/CleanMangaList.svelte | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/lib/List/Manga/CleanMangaList.svelte b/src/lib/List/Manga/CleanMangaList.svelte index 06ac5a9c..3ccdbf49 100644 --- a/src/lib/List/Manga/CleanMangaList.svelte +++ b/src/lib/List/Manga/CleanMangaList.svelte @@ -24,7 +24,12 @@ {#if authorised} <ListTitle count={media.length} time={endTime / 1000}> - <a href={'#'} title="Force a full refresh" on:click={cleanCache}>Refresh</a> + <a + href={'#'} + title="Force a full refresh" + on:click={cleanCache} + data-umami-event="Force Refresh Manga">Refresh</a + > </ListTitle> {/if} @@ -34,7 +39,13 @@ {#if media.length === 0} <ul> - <li>No manga to display. <a href={'#'} on:click={cleanCache}>Force refresh</a></li> + <li> + No manga to display. <a + href={'#'} + on:click={cleanCache} + data-umami-event="Force Refresh No Manga">Force refresh</a + > + </li> </ul> {/if} |