]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: close token status subscription properly
authorNizamudeen A <nia@redhat.com>
Tue, 12 Aug 2025 04:15:54 +0000 (09:45 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 19 Aug 2025 05:57:29 +0000 (11:27 +0530)
commit3fad65cdbe079321c4732c7feb3a806cc3aa75e8
tree3138b7b846646d61bb44331bbb13221da897529c
parent45b7da1854912a288e36cd7a8f07182fe169811c
mgr/dashboard: close token status subscription properly

Since its not returning any subscription back to the `this.subs`
property, those subscriptions are not properly closed in the
workbench-layout when its destroyed. So ensuring proper return

Fixes: https://tracker.ceph.com/issues/72530
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 79729c4ece92d5fdd2f5bed50c203a1a7077be14)
src/pybind/mgr/dashboard/frontend/src/app/shared/api/multi-cluster.service.ts