fix loadFromLocalStorage

This commit is contained in:
NightFox 2024-02-15 19:28:28 +03:00
parent 1930a8df7b
commit 14f3896156

View File

@ -270,7 +270,7 @@ const loadFromLocalStorage = (key, default_option) => {
}
} else
if (value === null) {
return default_option ? default_option : null;
return (default_option === "" || default_option) ? default_option : null;
} else
if (value === "") {
return value;