From 25d2b42ba3e2f939e7ef91426525f89b44e0fea3 Mon Sep 17 00:00:00 2001 From: "Konrad M." Date: Tue, 21 Apr 2026 21:53:27 +0200 Subject: [PATCH] fix(router): auto-reload page 8 s after SW update toast is shown --- public/router.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/router.js b/public/router.js index 6a677ad..6c5985a 100644 --- a/public/router.js +++ b/public/router.js @@ -747,6 +747,7 @@ if ('serviceWorker' in navigator) { // Modul-Cache leeren damit nächste Navigation frische Module lädt moduleCache.clear(); showToast(t('common.updateAvailable'), 'default', 8000); + setTimeout(() => location.reload(), 8000); } }); }