Fixind redis events
Change-Id: If163afcc5ba5ba2235f539e05f02e4c120f49bae
diff --git a/src/decorators.ts b/src/decorators.ts
index 5c1c804..790293d 100644
--- a/src/decorators.ts
+++ b/src/decorators.ts
@@ -20,11 +20,11 @@
const isLogEnabled = () => {
// NOTE to enable debug, in the browser console set: localStorage.debug = 'true'
// NOTE to disable debug, in the browser console set: localStorage.debug = 'false'
- return window.localStorage.getItem('debug') === 'true';
+ return window.localStorage.getItem('debug-global') === 'true';
};
const isEventLogEnabled = () => {
- return window.localStorage.getItem('debug-event') === 'true';
+ return window.localStorage.getItem('debug-events') === 'true';
};
// Save the original $log.debug()
@@ -50,8 +50,6 @@
return;
}
- // TODO toggle events notifications
-
let args = [].slice.call(arguments);
let now = new Date();