@akc42/app-utils 4.2.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/debug.js +1 -1
- package/package.json +1 -1
package/debug.js
CHANGED
|
@@ -133,7 +133,7 @@ function Debug(t) {
|
|
|
133
133
|
}, '');
|
|
134
134
|
if (initialised) performance.mark(this.topic, { detail: message }); //save our message locally regardless of if enabled
|
|
135
135
|
let enabled = false;
|
|
136
|
-
const debugConf = sessionStorage.
|
|
136
|
+
const debugConf = sessionStorage.getItem('debug');
|
|
137
137
|
if (debugConf) {
|
|
138
138
|
const topics = debugConf.split(':');
|
|
139
139
|
if (topics.includes(this.topic)) enabled = true;
|