mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
show start button
This commit is contained in:
committed by
Aiden McClelland
parent
972fc8c398
commit
7370dfb0ec
@@ -42,7 +42,7 @@
|
|||||||
<ion-button slot="end" class="action-button" *ngIf="statuses.primary === PS.Running" color="danger" (click)="stop()">
|
<ion-button slot="end" class="action-button" *ngIf="statuses.primary === PS.Running" color="danger" (click)="stop()">
|
||||||
Stop
|
Stop
|
||||||
</ion-button>
|
</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
|
Start
|
||||||
</ion-button>
|
</ion-button>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ export class AppShowPage {
|
|||||||
dependencies: DependencyInfo[] = []
|
dependencies: DependencyInfo[] = []
|
||||||
statuses: {
|
statuses: {
|
||||||
primary: PrimaryStatus
|
primary: PrimaryStatus
|
||||||
|
dependency: DependencyStatus
|
||||||
health: HealthStatus
|
health: HealthStatus
|
||||||
} = { } as any
|
} = { } as any
|
||||||
connectionFailure: boolean
|
connectionFailure: boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user