Fix watcher

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia 2024-06-14 18:01:46 +02:00
parent 031f6e9217
commit ef04423c53
No known key found for this signature in database
GPG Key ID: E6D011B7415D4393
1 changed files with 3 additions and 0 deletions

View File

@ -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() {