From b25ffda393ad0c8438c171ccc53f227d241fa743 Mon Sep 17 00:00:00 2001 From: sijumoncy <72241997+sijumoncy@users.noreply.github.com> Date: Wed, 22 Nov 2023 17:23:36 +0530 Subject: [PATCH] added labelings and messages for local resource upload --- .../src/components/Resources/ImportResource.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/renderer/src/components/Resources/ImportResource.js b/renderer/src/components/Resources/ImportResource.js index fe656cef1..62b40a512 100644 --- a/renderer/src/components/Resources/ImportResource.js +++ b/renderer/src/components/Resources/ImportResource.js @@ -130,16 +130,25 @@ export default function ImportResource({ logger.debug('ImportResource.js', 'error in loading resource'); setNotify('error'); } finally { + setFolderPath(''); setLoading(false); } }; return ( <> -