|
|
|
@ -83,7 +83,10 @@ export class GfCreateOrUpdateAccessDialogComponent implements OnInit { |
|
|
|
] |
|
|
|
}); |
|
|
|
|
|
|
|
this.accessForm.get('type')?.valueChanges.subscribe((accessType) => { |
|
|
|
this.accessForm |
|
|
|
.get('type') |
|
|
|
?.valueChanges.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
|
.subscribe((accessType) => { |
|
|
|
const granteeUserIdControl = this.accessForm.get('granteeUserId'); |
|
|
|
const permissionsControl = this.accessForm.get('permissions'); |
|
|
|
|
|
|
|
|