From 929e5228602d6e287d698c30362deb917250b863 Mon Sep 17 00:00:00 2001 From: caadiq Date: Fri, 26 Dec 2025 20:19:19 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=95=84=EC=9D=B4=EC=BD=98=20=EC=97=85?= =?UTF-8?q?=EB=A1=9C=EB=93=9C=20=EC=99=84=EB=A3=8C=20=ED=86=A0=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8,=20=EB=B2=88=EC=97=AD=20=EC=82=AD=EC=A0=9C=20?= =?UTF-8?q?=EC=8B=9C=20=EC=95=84=EC=9D=B4=EC=BD=98=20UI=20=EB=8F=99?= =?UTF-8?q?=EA=B8=B0=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/Admin.jsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/frontend/src/pages/Admin.jsx b/frontend/src/pages/Admin.jsx index ee1956f..d55424f 100644 --- a/frontend/src/pages/Admin.jsx +++ b/frontend/src/pages/Admin.jsx @@ -409,6 +409,15 @@ export default function Admin({ isMobile = false }) { setIconUploading(false); fetchIconMods(); + + // 완료 토스트 표시 + const successCount = pendingIconFiles.filter(f => f.status === 'success').length; + const errorCount = pendingIconFiles.filter(f => f.status === 'error').length; + if (successCount > 0) { + setToast(`아이콘 업로드 완료: ${successCount}개 성공${errorCount > 0 ? `, ${errorCount}개 실패` : ''}`); + } else if (errorCount > 0) { + setToast(`아이콘 업로드 실패: ${errorCount}개`, true); + } }; // 아이콘 모드 삭제 @@ -540,6 +549,7 @@ export default function Admin({ isMobile = false }) { if (result.success) { setToast(`${modId} 번역 삭제됨`); fetchModTranslations(); + fetchIconMods(); // 아이콘 목록도 새로고침 } else { setToast(result.error || '삭제 실패', true); }