This commit is contained in:
Efstratios Giannopoulos 2024-05-13 10:53:49 +03:00
parent 63c43fa422
commit 4c9f331d04
1 changed files with 3 additions and 3 deletions

View File

@ -32,10 +32,10 @@
<mat-icon class="status-icon">lock_outline</mat-icon> <mat-icon class="status-icon">lock_outline</mat-icon>
{{'DMP-OVERVIEW.LOCKED' | translate}} {{'DMP-OVERVIEW.LOCKED' | translate}}
</div> </div>
<div class="col-auto"> <div class="col-auto" *ngIf="selectedDmpVersion">
<mat-form-field appearance="outline" subscriptSizing="dynamic" class="dense-3 versions-select"> <mat-form-field appearance="outline" subscriptSizing="dynamic" class="dense-3 versions-select">
<mat-select placeholder="{{'DMP-OVERVIEW.VERSION' | translate}} {{dmp.version}}" [(ngModel)]="selectedDmpVersion" (selectionChange)="versionChanged(selectedDmpVersion.id)"> <mat-select placeholder="{{'DMP-OVERVIEW.VERSION' | translate}} {{dmp.version}}" [(ngModel)]="selectedDmpVersion.id" (selectionChange)="versionChanged(selectedDmpVersion.id)">
<mat-option *ngFor="let version of dmp?.otherDmpVersions" [value]="version"> <mat-option *ngFor="let version of dmp?.otherDmpVersions" [value]="version?.id">
{{'DMP-OVERVIEW.VERSION' | translate}} {{version.version}}</mat-option> {{'DMP-OVERVIEW.VERSION' | translate}} {{version.version}}</mat-option>
</mat-select> </mat-select>
</mat-form-field> </mat-form-field>