This commit is contained in:
Mo Bitar
2018-11-25 18:35:51 -06:00
parent 90793938f7
commit 0cab8c2955
9 changed files with 46 additions and 10 deletions

View File

@@ -120,6 +120,7 @@ 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.
@@ -128,6 +129,7 @@ class PrivilegesManager {
privs.setDirty(true);
this.$rootScope.sync();
valueCallback(privs);
console.log("Creating new privs", privs.uuid);
resolve(privs);
});
});