fix loadFromLocalStorage

This commit is contained in:
NightFox 2024-02-15 19:28:28 +03:00
parent 57f952116d
commit 78ab5b8ed6

View File

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