]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix stale table actions 37756/head
authorTiago Melo <tmelo@suse.com>
Thu, 27 Aug 2020 17:31:48 +0000 (17:31 +0000)
committerTiago Melo <tmelo@suse.com>
Wed, 28 Oct 2020 18:04:43 +0000 (17:04 -0100)
commit6be15fbae89af921421f24a7e329f0923296c178
tree72e8240f3beab90a07a4123374bfa3fd0c3b565f
parentddb59419ba34e96353973eae55fe6df642856413
mgr/dashboard: Fix stale table actions

If we don't emit the select event, the action button can become stale and not
update when the data changes.

This fixes a regression introduced in 31e9bbb9b308277d2f89390d5ff62f13457d69cb

Fixes: https://tracker.ceph.com/issues/47175
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit c9a73185a9d8348d0a5e72b76b6bcabd5ac34da8)

Conflicts:
        src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.html
        src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts
        One of the methods used still requires 1 parameter in nautilus
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts