From fe42458845587d21373dfcba1d090f216fc68bb7 Mon Sep 17 00:00:00 2001 From: Devin Cowan Date: Thu, 26 Sep 2024 11:57:11 -0400 Subject: [PATCH] Refactor submission refresh logic in SubmissionsView.vue --- app/frontend/src/views/SubmissionsView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/frontend/src/views/SubmissionsView.vue b/app/frontend/src/views/SubmissionsView.vue index 2580bc3c..a3c47532 100644 --- a/app/frontend/src/views/SubmissionsView.vue +++ b/app/frontend/src/views/SubmissionsView.vue @@ -118,7 +118,7 @@ onMounted(async () => { if (authStore.isLoggedIn) { refreshAllSubmissions() // set a timer to refresh the submissions every REFRESH_INTERVAL milliseconds - interval = setInterval(refreshPendingSubmissions, REFRESH_INTERVAL) + interval = setInterval(refreshAllSubmissions, REFRESH_INTERVAL) }else{ refreshing.value = false }