]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix stale table actions 36899/head
authorTiago Melo <tmelo@suse.com>
Thu, 27 Aug 2020 17:31:48 +0000 (17:31 +0000)
committerLaura Paduano <lpaduano@suse.com>
Mon, 31 Aug 2020 13:09:09 +0000 (15:09 +0200)
commit509238cf18f60d6db05029d546a93494ff221e6c
tree1b16074f2fb5063437c25ddcd2ce82b911ab9ae7
parent6c80e2ef7bac77cdded689a75653f6f6746b3afb
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)
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts