diff --git a/materialious/src/routes/history/+page.svelte b/materialious/src/routes/history/+page.svelte index 5ee3e97a..05053768 100644 --- a/materialious/src/routes/history/+page.svelte +++ b/materialious/src/routes/history/+page.svelte @@ -48,6 +48,12 @@ on:click={async () => { await deleteHistory(); history = []; + Object.keys(localStorage).forEach((key) => { + let content = localStorage.getItem(key); + if (content && content.startsWith('v_')) { + localStorage.removeItem(key); + } + }); }} > delete_sweep