From 33481889c903582e45d9beabc66eac0fe021863b Mon Sep 17 00:00:00 2001
From: Vitalii Lysak <v.lysak@dunice.net>
Date: Tue, 30 Aug 2022 10:54:08 +0300
Subject: code clean

---
 src/views/_sila/Power/Dynamic/VoltOutput.vue | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/views/_sila/Power/Dynamic/VoltOutput.vue')

diff --git a/src/views/_sila/Power/Dynamic/VoltOutput.vue b/src/views/_sila/Power/Dynamic/VoltOutput.vue
index bc961feb..7659d235 100644
--- a/src/views/_sila/Power/Dynamic/VoltOutput.vue
+++ b/src/views/_sila/Power/Dynamic/VoltOutput.vue
@@ -294,6 +294,10 @@ export default {
     },
 
     loadData() {
+      if (this.isPageLoading) {
+        return;
+      }
+
       let payload = { metricsName: 'psu_voltage', lastHour: false };
       if (this.timeScale === 'hour') {
         payload.lastHour = true;
-- 
cgit v1.2.3

