From ef04423c53e17f963a2d1ba42765d16dd182547c Mon Sep 17 00:00:00 2001 From: Francesco Torchia Date: Fri, 14 Jun 2024 18:01:46 +0200 Subject: [PATCH] Fix watcher Signed-off-by: Francesco Torchia --- shell/components/fleet/ForceDirectedTreeChart/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell/components/fleet/ForceDirectedTreeChart/index.vue b/shell/components/fleet/ForceDirectedTreeChart/index.vue index 9c03f4c329..82f2760f9a 100644 --- a/shell/components/fleet/ForceDirectedTreeChart/index.vue +++ b/shell/components/fleet/ForceDirectedTreeChart/index.vue @@ -334,6 +334,9 @@ export default { // set watcher for the chart data this.dataWatcher = this.$watch(this.fdcConfig.watcherProp, function(newValue) { this.watcherFunction(newValue); + }, { + deep: true, + immediate: true }); }, unmounted() {