Fix iframe reload and service worker caching
This commit is contained in:
@@ -35,9 +35,6 @@ let {
|
||||
hide_icon = false
|
||||
}: Props = $props();
|
||||
|
||||
// *** Import Svelte specific
|
||||
import { goto } from '$app/navigation';
|
||||
|
||||
// *** Import other supporting libraries
|
||||
import {
|
||||
BadgeQuestionMark,
|
||||
@@ -49,13 +46,10 @@ import {
|
||||
} from '@lucide/svelte';
|
||||
// *** Import Aether specific variables and functions
|
||||
import {
|
||||
ae_snip,
|
||||
ae_loc,
|
||||
ae_sess,
|
||||
ae_api,
|
||||
ae_trig,
|
||||
slct,
|
||||
slct_trigger,
|
||||
type key_val
|
||||
} from '$lib/stores/ae_stores';
|
||||
import { api } from '$lib/api/api';
|
||||
@@ -488,9 +482,8 @@ class:to-90%={$ae_sess.show_help_tech} -->
|
||||
localStorage.clear();
|
||||
sessionStorage.clear();
|
||||
|
||||
goto('/', { invalidateAll: true });
|
||||
|
||||
// window.location.reload();
|
||||
// Reload the current iframe URL so Novi/query params stay intact.
|
||||
window.location.reload();
|
||||
} else {
|
||||
// Confirm before clearing
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user