ciyidogan commited on
Commit
58e646a
·
verified ·
1 Parent(s): d155cd0

Update flare-ui/src/app/dialogs/version-edit-dialog/version-edit-dialog.component.html

Browse files
flare-ui/src/app/dialogs/version-edit-dialog/version-edit-dialog.component.html CHANGED
@@ -46,9 +46,11 @@
46
  <mat-chip-option>Version ID: {{ versionForm.get('id')?.value }}</mat-chip-option>
47
  <mat-chip-option *ngIf="selectedVersion.published" selected>Published</mat-chip-option>
48
  <mat-chip-option *ngIf="!selectedVersion.published">Draft</mat-chip-option>
49
- <mat-chip-option *ngIf="selectedVersion.created_date">
50
- Created: {{ selectedVersion.created_date | date:'short' }}
51
- </mat-chip-option>
 
 
52
  </mat-chip-listbox>
53
  </div>
54
 
 
46
  <mat-chip-option>Version ID: {{ versionForm.get('id')?.value }}</mat-chip-option>
47
  <mat-chip-option *ngIf="selectedVersion.published" selected>Published</mat-chip-option>
48
  <mat-chip-option *ngIf="!selectedVersion.published">Draft</mat-chip-option>
49
+ @if (selectedVersion?.last_update_date) {
50
+ <mat-chip-option>
51
+ Last updated: {{ selectedVersion.last_update_date | date:'short' }}
52
+ </mat-chip-option>
53
+ }
54
  </mat-chip-listbox>
55
  </div>
56