From 6d0dca450e87c955c93d625afc0cb5a8f3b837c7 Mon Sep 17 00:00:00 2001 From: Shubham Hibare Date: Sat, 25 Dec 2021 23:36:20 +0530 Subject: [PATCH] Fix auto refresh #129 & #130 --- frontend/src/components/Header.vue | 2 +- frontend/src/components/Login.vue | 4 +++- frontend/src/components/jobs/Dashboard.vue | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Header.vue b/frontend/src/components/Header.vue index 3648d8d..2a0f5f4 100644 --- a/frontend/src/components/Header.vue +++ b/frontend/src/components/Header.vue @@ -153,7 +153,7 @@ export default { created() { this.getJobsStatus(); - setTimeout(this.getJobsStatus(), 300000); + setInterval(this.getJobsStatus(), 300000); }, methods: { diff --git a/frontend/src/components/Login.vue b/frontend/src/components/Login.vue index 662eb4e..e1797d5 100644 --- a/frontend/src/components/Login.vue +++ b/frontend/src/components/Login.vue @@ -1,7 +1,9 @@