Singleton manager uuid change observer

This commit is contained in:
Mo Bitar
2018-12-14 22:09:41 -06:00
parent dde857c4e1
commit f7dfec36f8
5 changed files with 18 additions and 10 deletions

View File

@@ -124,7 +124,6 @@ class PrivilegesManager {
if(!this.privileges.content.desktopPrivileges) {
this.privileges.content.desktopPrivileges = {};
}
console.log("Resolved existing privs", resolvedSingleton.uuid);
resolve(resolvedSingleton);
}, (valueCallback) => {
// Safe to create. Create and return object.
@@ -133,7 +132,6 @@ class PrivilegesManager {
privs.setDirty(true);
this.$rootScope.sync();
valueCallback(privs);
console.log("Creating new privs", privs.uuid);
resolve(privs);
});
});