Fixed tags for finalized, locked and published datasets

This commit is contained in:
George Kalampokis 2020-03-13 18:36:57 +02:00
parent 1f6b98ad60
commit 3eb323ba4b
1 changed files with 2 additions and 2 deletions

View File

@ -153,9 +153,9 @@
<mat-chip *ngFor="let tag of formGroup.get('tags').value"
[removable]="true" (removed)="removeTag(tag)">
{{tag.name}}
<mat-icon matChipRemove *ngIf="true">cancel</mat-icon>
<mat-icon matChipRemove *ngIf="!viewOnly">cancel</mat-icon>
</mat-chip>
<input matInput placeholder="{{'DATASET-EDITOR.FIELDS.TAGS' | translate}}"
<input [disabled]="viewOnly" matInput placeholder="{{'DATASET-EDITOR.FIELDS.TAGS' | translate}}"
[matChipInputFor]="chipList"
[matChipInputSeparatorKeyCodes]="separatorKeysCodes"
[matChipInputAddOnBlur]="true"