From d2f6a8a0117c38e74031109b82a865f77b79d7e1 Mon Sep 17 00:00:00 2001 From: abhimazu <mail.abhijeetmazumdar@gmail.com> Date: Wed, 5 Mar 2025 13:22:59 -0500 Subject: [PATCH] Reset the state of show config when the download is successful --- src/renderer/components/Data/LocalDatasets.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/components/Data/LocalDatasets.tsx b/src/renderer/components/Data/LocalDatasets.tsx index 4248e601..576bd7bf 100644 --- a/src/renderer/components/Data/LocalDatasets.tsx +++ b/src/renderer/components/Data/LocalDatasets.tsx @@ -175,6 +175,7 @@ export default function LocalDatasets() { .then((response) => { if (!response.ok) { console.log(response); + setShowConfig(false); throw new Error(`HTTP Status: ${response.status}`); } return response.json(); -- GitLab