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