From f4be73d0d833829889a5a36d10c7e230a49830e5 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 16 Sep 2021 10:53:55 -0600 Subject: [PATCH] remove app metrics from app show --- .../pages/apps-routes/app-show/app-show.page.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ui/src/app/pages/apps-routes/app-show/app-show.page.ts b/ui/src/app/pages/apps-routes/app-show/app-show.page.ts index 22665cec8..d6d1c9cf1 100644 --- a/ui/src/app/pages/apps-routes/app-show/app-show.page.ts +++ b/ui/src/app/pages/apps-routes/app-show/app-show.page.ts @@ -299,14 +299,14 @@ export class AppShowPage { disabled: [], }, // metrics - { - action: () => this.navCtrl.navigateForward(['metrics'], { relativeTo: this.route }), - title: 'Monitor', - icon: 'pulse-outline', - 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. - disabled: [FEStatus.Installing, FEStatus.Updating, FEStatus.Removing, FEStatus.BackingUp, FEStatus.Restoring], - }, + // { + // action: () => this.navCtrl.navigateForward(['metrics'], { relativeTo: this.route }), + // title: 'Monitor', + // icon: 'pulse-outline', + // 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. + // disabled: [FEStatus.Installing, FEStatus.Updating, FEStatus.Removing, FEStatus.BackingUp, FEStatus.Restoring], + // }, // logs { action: () => this.navCtrl.navigateForward(['logs'], { relativeTo: this.route }),