From b0cbb1a8bd682f5b3bf3160560ab9412cc4f8ca5 Mon Sep 17 00:00:00 2001 From: Prateek Keerthi Date: Fri, 15 Nov 2024 14:12:28 -0500 Subject: [PATCH] MAT-7872 setting loading to false when cql is empty --- src/CqlBuilderPanel/CqlBuilderPanel.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CqlBuilderPanel/CqlBuilderPanel.tsx b/src/CqlBuilderPanel/CqlBuilderPanel.tsx index b1deac50..94098996 100644 --- a/src/CqlBuilderPanel/CqlBuilderPanel.tsx +++ b/src/CqlBuilderPanel/CqlBuilderPanel.tsx @@ -127,6 +127,8 @@ export default function CqlBuilderPanel({ setLoading(false); }); } + } else { + setLoading(false); } }, [measureModel, measureStoreCql]);