diff options
Diffstat (limited to 'src/views/_sila/Processors/Dynamic')
-rw-r--r-- | src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue b/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue index 6e6e144e..1d6dc597 100644 --- a/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue +++ b/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue @@ -188,10 +188,7 @@ export default { }, }, created() { - this.startLoader(); - this.$store.dispatch('processors/getProcessorsDynamic').finally(() => { - this.endLoader(); - }); + this.loadData(); }, methods: { @@ -200,6 +197,13 @@ export default { this.temperatureNonNormal = +this.temperatureNonNormalInput; this.temperatureCritical = +this.temperatureCriticalInput; }, + + loadData() { + this.startLoader(); + this.$store.dispatch('processors/getProcessorsDynamic').finally(() => { + this.endLoader(); + }); + }, }, }; </script> |