fix(settings): guard backup binding during cache updates
This commit is contained in:
@@ -795,7 +795,7 @@ function bindEvents(container, user, users, categories, icsSubscriptions, apiTok
|
||||
bindCategoryEvents(container);
|
||||
bindIcsEvents(container, user, icsSubscriptions);
|
||||
bindApiTokenEvents(container, apiTokens);
|
||||
bindBackupEvents(container);
|
||||
if (typeof bindBackupEvents === 'function') bindBackupEvents(container);
|
||||
// Theme-Toggle
|
||||
const themeToggle = container.querySelector('#theme-toggle');
|
||||
if (themeToggle) {
|
||||
|
||||
+4
-4
@@ -13,10 +13,10 @@
|
||||
* → bypassCacheUntil (in-memory + Cache API für SW-Restart-Robustheit)
|
||||
*/
|
||||
|
||||
const SHELL_CACHE = 'oikos-shell-v69';
|
||||
const PAGES_CACHE = 'oikos-pages-v64';
|
||||
const LOCALES_CACHE = 'oikos-locales-v13';
|
||||
const ASSETS_CACHE = 'oikos-assets-v64';
|
||||
const SHELL_CACHE = 'oikos-shell-v70';
|
||||
const PAGES_CACHE = 'oikos-pages-v65';
|
||||
const LOCALES_CACHE = 'oikos-locales-v14';
|
||||
const ASSETS_CACHE = 'oikos-assets-v65';
|
||||
const BYPASS_CACHE = 'oikos-bypass-flag';
|
||||
const ALL_CACHES = [SHELL_CACHE, PAGES_CACHE, LOCALES_CACHE, ASSETS_CACHE];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user