]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Set changeDetection to Push on Table Component
authorTiago Melo <tmelo@suse.com>
Tue, 7 May 2019 15:53:02 +0000 (15:53 +0000)
committerTiago Melo <tmelo@suse.com>
Thu, 30 May 2019 12:14:29 +0000 (12:14 +0000)
commitd8fb099afb0a262aa0152e129fa9dceb3940283b
tree5c5daa670b2e9fa43b9ef4de78e477bd86043c90
parent50f8b3a784c35e1350879f4948e22080d6cec3d6
mgr/dashboard: Set changeDetection to Push on Table Component

This will limit the number of times angular checks for changes to only once
when a new data object is pushed to the table component.

It will also remove the event of rendering the table when we hover a row.

Fixes: http://tracker.ceph.com/issues/39944
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 7867c700a634f91fb579c1fbabd5d38452628591)
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