]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: show checkboxes for booleans 33388/head
authorTatjana Dehler <tdehler@suse.com>
Fri, 24 Jan 2020 16:02:22 +0000 (17:02 +0100)
committerTatjana Dehler <tdehler@suse.com>
Tue, 18 Feb 2020 14:48:01 +0000 (15:48 +0100)
commitc070796fc661e1f881a2ceb0bd0ce32ed0494c53
tree342f8f08704aea1026864399aafa033a6cfe56c7
parent4d5b84085009968f557baaa4209183f1374773cd
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>
(cherry picked from commit 7e7cac98116e76bc9e4c52ac47796e3fcd880667)
src/pybind/mgr/dashboard/settings.py