]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix table dom re-rendering 64710/head
authorNizamudeen A <nia@redhat.com>
Mon, 28 Jul 2025 08:22:36 +0000 (13:52 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 8 Aug 2025 09:56:46 +0000 (15:26 +0530)
commit2989cb99df7b24cfc8c2302bee52cdb4d6bf33e8
treeced7491962a5b840410e96d74b581a6608e5a71c
parent139f5a3a7f3f279f78ea43ce0ae1e8a2dd1b0ec9
mgr/dashboard: fix table dom re-rendering

each table refresh creates a new data or update the existing data. this
causes the existing data to be completely replaced with a newer one and
thereby loosing the trackBy functionality. So I am modifying the data
in-place so that the memory reference doesn't get changed

Fixes: https://tracker.ceph.com/issues/72491
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts