Fix loglevel saving a key to local storage
This commit is contained in:
parent
e4dcd6eb43
commit
da033ef5d2
|
@ -18,6 +18,6 @@ export const overWriteLogLevel = () => {
|
||||||
|
|
||||||
export const updateLogLevel = () => {
|
export const updateLogLevel = () => {
|
||||||
const isDebugMode = getSettings("isDebugMode");
|
const isDebugMode = getSettings("isDebugMode");
|
||||||
if (isDebugMode) log.enableAll();
|
if (isDebugMode) log.enableAll(false);
|
||||||
else log.disableAll();
|
else log.disableAll(false);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue