mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
show properties message even if no properties
This commit is contained in:
committed by
Aaron Greenspan
parent
2c97294196
commit
5b3c692b7a
@@ -22,6 +22,13 @@
|
||||
<ion-text class="ion-text-wrap" color="danger">{{ error }}</ion-text>
|
||||
</ion-item>
|
||||
|
||||
<!-- not running -->
|
||||
<ion-item *ngIf="app.status !== 'RUNNING'" class="ion-margin-bottom">
|
||||
<ion-label class="ion-text-wrap">
|
||||
<p><ion-text color="warning">{{ app.title }} is not running. Information on this page could be innacurate.</ion-text></p>
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
|
||||
<!-- no metrics -->
|
||||
<ion-item *ngIf="($hasMetrics$ | async) === false">
|
||||
<ion-label class="ion-text-wrap">
|
||||
@@ -29,12 +36,8 @@
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
|
||||
<!-- metrics -->
|
||||
<ion-item-group *ngIf="($hasMetrics$ | async) === true">
|
||||
<ion-item *ngIf="app.status !== 'RUNNING'" class="ion-margin-bottom">
|
||||
<ion-label class="ion-text-wrap">
|
||||
<p><ion-text color="warning">{{ app.title }} is not running. Properties could be innacurate.</ion-text></p>
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
<div *ngFor="let keyval of $metrics$ | async | keyvalue: asIsOrder">
|
||||
<!-- object -->
|
||||
<ion-item button detail="false" *ngIf="keyval.value.type === 'object'" (click)="goToNested(keyval.key)">
|
||||
|
||||
Reference in New Issue
Block a user