remove app metrics from app show

This commit is contained in:
Matt Hill
2021-09-16 10:53:55 -06:00
parent 5b9b821169
commit b76c0dbabd

View File

@@ -299,14 +299,14 @@ export class AppShowPage {
disabled: [], disabled: [],
}, },
// metrics // metrics
{ // {
action: () => this.navCtrl.navigateForward(['metrics'], { relativeTo: this.route }), // action: () => this.navCtrl.navigateForward(['metrics'], { relativeTo: this.route }),
title: 'Monitor', // title: 'Monitor',
icon: 'pulse-outline', // icon: 'pulse-outline',
color: 'danger', // color: 'danger',
// @TODO make the disabled check better. Don't want to list every status here. Monitor should be disabled except is pkg is running. // // @TODO make the disabled check better. Don't want to list every status here. Monitor should be disabled except is pkg is running.
disabled: [FEStatus.Installing, FEStatus.Updating, FEStatus.Removing, FEStatus.BackingUp, FEStatus.Restoring], // disabled: [FEStatus.Installing, FEStatus.Updating, FEStatus.Removing, FEStatus.BackingUp, FEStatus.Restoring],
}, // },
// logs // logs
{ {
action: () => this.navCtrl.navigateForward(['logs'], { relativeTo: this.route }), action: () => this.navCtrl.navigateForward(['logs'], { relativeTo: this.route }),