RED-6269
This commit is contained in:
parent
c48ef2c750
commit
842fd1eef3
@ -1,12 +1,6 @@
|
||||
<div *ngIf="licenses$ | async as licenses" class="iqser-input-group w-400">
|
||||
<mat-form-field>
|
||||
<mat-select
|
||||
(valueChange)="licenseChanged($event)"
|
||||
*ngIf="value"
|
||||
[(ngModel)]="value"
|
||||
[disabled]="isReadonly$ | async"
|
||||
[iqserHelpMode]="'license_information'"
|
||||
>
|
||||
<mat-select (valueChange)="licenseChanged($event)" *ngIf="value" [(ngModel)]="value" [iqserHelpMode]="'license_information'">
|
||||
<mat-select-trigger>
|
||||
<ng-container *ngTemplateOutlet="licenseInfo; context: { license: value }"></ng-container>
|
||||
</mat-select-trigger>
|
||||
|
||||
@ -26,7 +26,6 @@ export class LicenseSelectComponent {
|
||||
}
|
||||
}),
|
||||
);
|
||||
readonly isReadonly$ = this._permissionsService.has$(ROLES.license.edit).pipe(map(has => !has));
|
||||
|
||||
constructor(readonly licenseService: LicenseService, private readonly _permissionsService: IqserPermissionsService) {}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user