Merge branch 'dmp-refactoring' of https://code-repo.d4science.org/MaDgiK-CITE/argos into dmp-refactoring
This commit is contained in:
commit
a8a1e77138
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue