]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Add 'Always-on' column to mgr module list 33429/head
authorVolker Theile <vtheile@suse.com>
Thu, 20 Feb 2020 11:39:30 +0000 (12:39 +0100)
committerVolker Theile <vtheile@suse.com>
Thu, 20 Feb 2020 11:39:30 +0000 (12:39 +0100)
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 <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.ts

index 755f3e73d5f3b3a49b1f6081749b476139303ba3..5d93b6c17899872b9304230baf6e693536dcdfc7 100644 (file)
@@ -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 = () =>