From 3a06d42fcbdb932d19fb10ab90461ed8eb55bd34 Mon Sep 17 00:00:00 2001 From: Volker Theile Date: Thu, 20 Feb 2020 12:39:30 +0100 Subject: [PATCH] mgr/dashboard: Add 'Always-on' column to mgr module list It might be useful to be able to see which Mgr modules are `always-on`. The new added datatable column will allow this. The column is hidden by default. Signed-off-by: Volker Theile --- .../mgr-module-list/mgr-module-list.component.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.ts index 755f3e73d5f3b..5d93b6c178998 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.ts @@ -52,6 +52,14 @@ export class MgrModuleListComponent { flexGrow: 1, cellClass: 'text-center', cellTransformation: CellTemplate.checkIcon + }, + { + name: this.i18n('Always-On'), + prop: 'always_on', + isHidden: true, + flexGrow: 1, + cellClass: 'text-center', + cellTransformation: CellTemplate.checkIcon } ]; const getModuleUri = () => -- 2.39.5