Compare commits

...

2 Commits

Author SHA1 Message Date
Atlassian Bamboo
a97697ba46 chore(release) 2023-02-27 15:01:28 +01:00
Timo Bejan
38ac7acd86 RED-6269 2023-02-27 15:56:19 +02:00
4 changed files with 2 additions and 9 deletions

View File

@ -1,11 +1,5 @@
<div *ngIf="licenses$ | async as licenses" class="iqser-input-group w-400"> <div *ngIf="licenses$ | async as licenses" class="iqser-input-group w-400">
<mat-select <mat-select (valueChange)="licenseChanged($event)" *ngIf="value" [(ngModel)]="value" [iqserHelpMode]="'license_information'">
(valueChange)="licenseChanged($event)"
*ngIf="value"
[(ngModel)]="value"
[disabled]="isReadonly$ | async"
[iqserHelpMode]="'license_information'"
>
<mat-select-trigger> <mat-select-trigger>
<ng-container *ngTemplateOutlet="licenseInfo; context: { license: value }"></ng-container> <ng-container *ngTemplateOutlet="licenseInfo; context: { license: value }"></ng-container>
</mat-select-trigger> </mat-select-trigger>

View File

@ -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) {} constructor(readonly licenseService: LicenseService, private readonly _permissionsService: IqserPermissionsService) {}

View File

@ -1,6 +1,6 @@
{ {
"name": "redaction", "name": "redaction",
"version": "3.902.0", "version": "3.902.1",
"private": true, "private": true,
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {

Binary file not shown.