verben-authentication-ui 1.0.4 → 1.0.5
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.
|
@@ -4801,8 +4801,8 @@ class RoleControlComponent {
|
|
|
4801
4801
|
async ngOnInit() {
|
|
4802
4802
|
const mockData = this.getMockRoles();
|
|
4803
4803
|
const roles = await this.getAllRoles();
|
|
4804
|
+
const contextsRes = await this.getSavedContexts();
|
|
4804
4805
|
if (this.isGlobal) {
|
|
4805
|
-
const contextsRes = await this.getSavedContexts();
|
|
4806
4806
|
if (contextsRes) {
|
|
4807
4807
|
this.roleContextsStore = contextsRes;
|
|
4808
4808
|
this.roleActionsStore = contextsRes.flatMap((x) => x.RoleActions);
|