]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix table in order to view boolean values 21643/head
authorTatjana Dehler <tdehler@suse.com>
Thu, 3 May 2018 14:59:32 +0000 (16:59 +0200)
committerTatjana Dehler <tdehler@suse.com>
Tue, 8 May 2018 14:58:37 +0000 (16:58 +0200)
commit881eac42eb9f4f73d619653e08530f6ed9bcae18
tree1bb03c8db801e71ee0a1d59703b163deac328cd2
parent32ee4764797dbdfcf981ade29c4a85bd5d8ebdf3
mgr/dashboard: fix table in order to view boolean values

The table didn't handle boolean values correctly. If a table contained
booleans it resulted in a TypeError because the value can't be converted to
lower case. We need to convert the boolean value to string at first.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts