]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: show checkboxes for booleans
authorTatjana Dehler <tdehler@suse.com>
Fri, 24 Jan 2020 16:02:22 +0000 (17:02 +0100)
committerTatjana Dehler <tdehler@suse.com>
Mon, 27 Jan 2020 10:52:56 +0000 (11:52 +0100)
commit7e7cac98116e76bc9e4c52ac47796e3fcd880667
treeaf454eec390db98cb95d068ee915bdb1677eec34
parent9c19d0edb97c85432761f769828070f563587117
mgr/dashboard: show checkboxes for booleans

The frontend showed textboxes for the dashboard settings because
the actual type information was missing here. The REST API then
returned the default type 'str'.

Edit the e2e test case in order to update a different setting as
the 'editMgrModule' method can't handle checkboxes.

Fixes: https://tracker.ceph.com/issues/43769
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
src/pybind/mgr/dashboard/frontend/e2e/cluster/mgr-modules.e2e-spec.ts
src/pybind/mgr/dashboard/settings.py