]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard_v2: fix cluster configuration page 20821/head
authorTiago Melo <tmelo@suse.com>
Wed, 7 Mar 2018 17:28:59 +0000 (17:28 +0000)
committerTiago Melo <tmelo@suse.com>
Fri, 9 Mar 2018 11:50:00 +0000 (11:50 +0000)
Configuration level 'develop' was changed to 'dev' in
1717d4c578be108d5b2c651305941974b2201b0f.
Because of this all the dev configurations were not showing.

Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard_v2/frontend/src/app/ceph/cluster/configuration/configuration.component.ts

index d6112e7d154fb16fd3aa5eda87ecea983ecff138..7c6ed68b448cd7cfa9b5f654f653ae6b956afe50 100644 (file)
@@ -18,12 +18,12 @@ export class ConfigurationComponent implements OnInit {
       label: 'Level',
       prop: 'level',
       value: 'basic',
-      options: ['basic', 'advanced', 'developer'],
+      options: ['basic', 'advanced', 'dev'],
       applyFilter: (row, value) => {
         enum Level {
           basic = 0,
           advanced = 1,
-          developer = 2
+          dev = 2
         }
 
         const levelVal = Level[value];