...
This commit is contained in:
parent
14f3896156
commit
17cb5712c8
@ -264,7 +264,7 @@ const loadFromLocalStorage = (key, default_option) => {
|
||||
case "false":
|
||||
return false;
|
||||
case "null":
|
||||
return default_option ? default_option : null;
|
||||
return (default_option === "" || default_option) ? default_option : null;
|
||||
default:
|
||||
return value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user