mirror of https://github.com/rancher/dashboard.git
Fix watcher
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
parent
031f6e9217
commit
ef04423c53
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue