From ef78fec58a6f4878712b130f686ad7d981a748fd Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Mon, 4 Mar 2024 09:52:56 +0100 Subject: [PATCH] fixed setTimeout to setInterval --- app/templates/components/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/components/sidebar.html b/app/templates/components/sidebar.html index 2614da4..edc6073 100644 --- a/app/templates/components/sidebar.html +++ b/app/templates/components/sidebar.html @@ -47,7 +47,7 @@ loadLeaseCnt() // refresh every 5 seconds - setTimeout(() => { + setInterval(() => { loadLOriginCnt() loadLeaseCnt() }, 5000);