From 2234350a1d87305a5b95fe1538d46f3b63a8a3ae Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Wed, 4 Mar 2020 18:29:17 +0300 Subject: [PATCH] fix: fix providerKey required error --- .../identity/src/lib/components/roles/roles.component.html | 2 +- .../identity/src/lib/components/roles/roles.component.ts | 7 +++++++ .../identity/src/lib/components/users/users.component.html | 2 +- .../identity/src/lib/components/users/users.component.ts | 7 +++++++ .../src/lib/components/tenants/tenants.component.html | 2 +- .../src/lib/components/tenants/tenants.component.ts | 7 +++++++ 6 files changed, 24 insertions(+), 3 deletions(-) diff --git a/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.html b/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.html index 89cbd99789..f800c4a8e4 100644 --- a/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.html +++ b/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.html @@ -76,7 +76,7 @@ diff --git a/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.ts b/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.ts index 3ac929bc5d..546ff48483 100644 --- a/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.ts +++ b/npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.ts @@ -142,4 +142,11 @@ export class RolesComponent implements OnInit { new Event('submit', { bubbles: true, cancelable: true }), ); } + + openPermissionsModal(providerKey: string) { + this.providerKey = providerKey; + setTimeout(() => { + this.visiblePermissions = true; + }, 0); + } } diff --git a/npm/ng-packs/packages/identity/src/lib/components/users/users.component.html b/npm/ng-packs/packages/identity/src/lib/components/users/users.component.html index 534bdee970..38b22789e9 100644 --- a/npm/ng-packs/packages/identity/src/lib/components/users/users.component.html +++ b/npm/ng-packs/packages/identity/src/lib/components/users/users.component.html @@ -102,7 +102,7 @@ diff --git a/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts b/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts index f0a55f6bfe..356292d438 100644 --- a/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts +++ b/npm/ng-packs/packages/identity/src/lib/components/users/users.component.ts @@ -243,4 +243,11 @@ export class UsersComponent implements OnInit { .pipe(finalize(() => (this.loading = false))) .subscribe(); } + + openPermissionsModal(providerKey: string) { + this.providerKey = providerKey; + setTimeout(() => { + this.visiblePermissions = true; + }, 0); + } } diff --git a/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.html b/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.html index 6a4690e797..a0fccaf9d3 100644 --- a/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.html +++ b/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.html @@ -93,7 +93,7 @@ diff --git a/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.ts b/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.ts index fcc2afd3da..fa400d06f9 100644 --- a/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.ts +++ b/npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.ts @@ -272,4 +272,11 @@ export class TenantsComponent implements OnInit { }, 0); } } + + openFeaturesModal(providerKey: string) { + this.providerKey = providerKey; + setTimeout(() => { + this.visibleFeatures = true; + }, 0); + } }