show start button

This commit is contained in:
Drew Ansbacher
2021-12-03 14:26:53 -07:00
committed by Aiden McClelland
parent 972fc8c398
commit 7370dfb0ec
2 changed files with 2 additions and 1 deletions

View File

@@ -42,7 +42,7 @@
<ion-button slot="end" class="action-button" *ngIf="statuses.primary === PS.Running" color="danger" (click)="stop()">
Stop
</ion-button>
<ion-button slot="end" class="action-button" *ngIf="statuses.primary === PS.Stopped && pkg.installed.status.configured && statuses.dependency !== DS.Critical" color="success" (click)="tryStart()">
<ion-button slot="end" class="action-button" *ngIf="statuses.primary === PS.Stopped && pkg.installed.status.configured" color="success" (click)="tryStart()">
Start
</ion-button>
</ng-container>

View File

@@ -39,6 +39,7 @@ export class AppShowPage {
dependencies: DependencyInfo[] = []
statuses: {
primary: PrimaryStatus
dependency: DependencyStatus
health: HealthStatus
} = { } as any
connectionFailure: boolean