(js) Fix caching of user rights

This commit is contained in:
Francis Lachapelle committed 2016-09-23 16:43:48 -04:00
1 parent d81a663fd1
commit 93de7b9ab3
2 files changed
+2 -1

No files matched your search

@@ -256,7 +256,7 @@
_this.rights[key] = 0;
});
}
else {
else if (this.$shadowRights) {
// Restore initial rights
this.rights = angular.copy(this.$shadowRights);
}