Merge branch 'dmp-refactoring' of https://code-repo.d4science.org/MaDgiK-CITE/argos into dmp-refactoring

This commit is contained in:
Sofia Papacharalampous 2024-05-13 11:36:12 +03:00
commit a8a1e77138
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>