]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix for datatable item not showing details after getting selected 38813/head
authorNizamudeen A <nia@redhat.com>
Fri, 8 Jan 2021 07:37:27 +0000 (13:07 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 12 Jan 2021 07:52:53 +0000 (13:22 +0530)
commitbaaeb60ff4fe019f58d9cd311a23b189d8d349f0
tree1829bfe6f068905045f6890f0528893687b29814
parent613536e4f78adc6ab17e2733b5ae72c566827f63
mgr/dashboard: Fix for datatable item not showing details after getting selected

**Regression in nautilus**

Datatable items are not showing the details even if an item in the list is selected. This is happening because of this backport (https://github.com/ceph/ceph/pull/37756/files) which backports the line this.selection.selected = $event['selected']; but this feature was not implemented in the nautilus branch originally.

Fixes: https://tracker.ceph.com/issues/48796
Signed-off-by: Nizamudeen A <nia@redhat.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