mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 22:39:46 +00:00
better conditional for go to service
This commit is contained in:
committed by
Aiden McClelland
parent
bd060670e4
commit
7c321bbf6b
@@ -53,10 +53,11 @@
|
|||||||
Install
|
Install
|
||||||
</ion-button>
|
</ion-button>
|
||||||
|
|
||||||
<div *ngIf="vars.versionInstalled && vars.status !== 'INSTALLING' ">
|
<div *ngIf="vars.versionInstalled">
|
||||||
<ion-button class="main-action-button" expand="block" fill="outline" [routerLink]="['/services', 'installed', vars.id]">
|
<ion-button class="main-action-button" expand="block" fill="outline" [routerLink]="['/services', 'installed', vars.id]">
|
||||||
Go to Service
|
Go to Service
|
||||||
</ion-button>
|
</ion-button>
|
||||||
|
<div *ngIf="vars.status !== 'INSTALLING' ">
|
||||||
<ion-button *ngIf="installedStatus === 'installed-below'" class="main-action-button" expand="block" fill="outline" color="success" (click)="update('update')">
|
<ion-button *ngIf="installedStatus === 'installed-below'" class="main-action-button" expand="block" fill="outline" color="success" (click)="update('update')">
|
||||||
Update to {{ vars.versionViewing | displayEmver }}
|
Update to {{ vars.versionViewing | displayEmver }}
|
||||||
</ion-button>
|
</ion-button>
|
||||||
@@ -64,6 +65,7 @@
|
|||||||
Downgrade to {{ vars.versionViewing | displayEmver }}
|
Downgrade to {{ vars.versionViewing | displayEmver }}
|
||||||
</ion-button>
|
</ion-button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<ion-item-group>
|
<ion-item-group>
|
||||||
<ng-container *ngIf="recommendation">
|
<ng-container *ngIf="recommendation">
|
||||||
|
|||||||
Reference in New Issue
Block a user