fix(settings): guard backup binding during cache updates

This commit is contained in:
Rafael Foster
2026-04-29 14:07:21 -03:00
parent 0cbd93e4e0
commit 7d02ac6c18
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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) {