From 5635268fd142bdd3ff317da94390439aeea2fc38 Mon Sep 17 00:00:00 2001 From: proddy Date: Fri, 30 Aug 2024 11:21:03 +0200 Subject: [PATCH] fix autoupdate in dialog --- interface/src/app/main/CustomEntities.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/app/main/CustomEntities.tsx b/interface/src/app/main/CustomEntities.tsx index b7b3e0ca6..31a0811d7 100644 --- a/interface/src/app/main/CustomEntities.tsx +++ b/interface/src/app/main/CustomEntities.tsx @@ -54,7 +54,7 @@ const CustomEntities = () => { useEffect(() => { const timer = setInterval(async () => { - if (dialogOpen) { + if (dialogOpen || numChanges > 0) { return; } await fetchEntities();