From 6cb91a26c94ce7305a4ba8b502c76faa6e7aedf5 Mon Sep 17 00:00:00 2001 From: ysCha Date: Fri, 23 May 2025 14:49:34 +0900 Subject: [PATCH] =?UTF-8?q?[1004]=201:1=20=EB=AC=B8=EC=9D=98=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=ED=8C=90=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/community/modal/QnaRegModal.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/community/modal/QnaRegModal.jsx b/src/components/community/modal/QnaRegModal.jsx index f814a67e..ef40457b 100644 --- a/src/components/community/modal/QnaRegModal.jsx +++ b/src/components/community/modal/QnaRegModal.jsx @@ -254,11 +254,13 @@ let fileCheck = false; swalFire({ text: getMessage('qna.reg.alert.save'), type: 'alert' }) setOpen(false) setReload(searchValue, selectPageBlock); + }else{ + setIsGlobalLoading(false) + swalFire({ text: getMessage('qna.reg.alert.saveFail'), type: 'alert', icon: 'error' }) + console.error('error::::::::::::', res) } - setIsGlobalLoading(false) + setIsBtnDisable(false) - swalFire({ text: getMessage('qna.reg.alert.saveFail'), type: 'alert', icon: 'error' }) - console.error('error::::::::::::', e.message) }) } catch (e) { setIsGlobalLoading(false)