From: Volker Theile Date: Thu, 20 Feb 2020 11:39:30 +0000 (+0100) Subject: mgr/dashboard: Add 'Always-on' column to mgr module list X-Git-Tag: v15.1.1~292^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3a06d42fcbdb932d19fb10ab90461ed8eb55bd34;p=ceph.git 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 --- 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 755f3e73d5f3..5d93b6c17899 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 = () =>