diff --git a/ui/media/js/auto-save.js b/ui/media/js/auto-save.js index f503779a..c1a9ce49 100644 --- a/ui/media/js/auto-save.js +++ b/ui/media/js/auto-save.js @@ -131,7 +131,7 @@ function loadSettings() { var saved_settings_text = localStorage.getItem(SETTINGS_KEY) if (saved_settings_text) { var saved_settings = JSON.parse(saved_settings_text) - if (saved_settings.find(s => s.key == "auto_save_settings").value == false) { + if (saved_settings.find(s => s.key == "auto_save_settings")?.value == false) { setSetting("auto_save_settings", false) return }