From 14ae432833c0efc031d740e795205265660d5106 Mon Sep 17 00:00:00 2001 From: rsone001 Date: Fri, 10 Jul 2026 12:27:52 +0900 Subject: [PATCH] =?UTF-8?q?[st]=20-=20fix:=20=EC=9E=85=EB=A0=A5=EB=8B=A8?= =?UTF-8?q?=20superAdmin=20=ED=95=84=EB=93=9C=20=EC=A1=B4=EC=9E=AC=20?= =?UTF-8?q?=EC=8B=9C=EC=97=90=EB=A7=8C=20=EC=B6=94=EA=B0=80=EB=90=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../statistics/input/PublicSewageFacilityInp.tsx | 2 +- .../src/components/statistics/input/SewagePipeInp.tsx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/st/src/components/statistics/input/PublicSewageFacilityInp.tsx b/apps/st/src/components/statistics/input/PublicSewageFacilityInp.tsx index 685cea13c..120b7b8a2 100644 --- a/apps/st/src/components/statistics/input/PublicSewageFacilityInp.tsx +++ b/apps/st/src/components/statistics/input/PublicSewageFacilityInp.tsx @@ -556,7 +556,7 @@ const PublicSewageFacilityInp = () => { sggNm: lastSearchedValues.gugun === 'ALL' ? '' : lastSearchedValues.gugun ?? '', sewerBzmnCd: lastSearchedValues.bsnmCd ?? '', userId: userInfo.userUnqId, - superAdmin: isAdminInfo ? 'superAdmin' : '', + ...(isAdminInfo ? { superAdmin: 'superAdmin' } : {}), noApplicable, saveList, }; diff --git a/apps/st/src/components/statistics/input/SewagePipeInp.tsx b/apps/st/src/components/statistics/input/SewagePipeInp.tsx index d49ba291a..57d3fc8e1 100644 --- a/apps/st/src/components/statistics/input/SewagePipeInp.tsx +++ b/apps/st/src/components/statistics/input/SewagePipeInp.tsx @@ -1670,7 +1670,7 @@ const SewagePipeInp = () => { sggNm: values.gugun === "ALL" ? "" : (values.gugun ?? ""), sewerBzmnCd: values.bsnmCd ?? "", userId: userInfo.userUnqId, - superAdmin: isAdminInfo ? "superAdmin" : "", + ...(isAdminInfo ? { superAdmin: "superAdmin" } : {}), saveList, }; @@ -1750,7 +1750,7 @@ const SewagePipeInp = () => { sggNm: values.gugun === "ALL" ? "" : (values.gugun ?? ""), sewerBzmnCd: values.bsnmCd ?? "", userId: userInfo.userUnqId, - superAdmin: isAdminInfo ? "superAdmin" : "", + ...(isAdminInfo ? { superAdmin: "superAdmin" } : {}), saveList, }; @@ -1835,7 +1835,7 @@ const SewagePipeInp = () => { sggNm: values.gugun === "ALL" ? "" : (values.gugun ?? ""), sewerBzmnCd: values.bsnmCd ?? "", userId: userInfo.userUnqId, - superAdmin: isAdminInfo ? "superAdmin" : "", + ...(isAdminInfo ? { superAdmin: "superAdmin" } : {}), saveList, }; @@ -1898,7 +1898,7 @@ const SewagePipeInp = () => { sggNm: values.gugun === "ALL" ? "" : (values.gugun ?? ""), sewerBzmnCd: values.bsnmCd ?? "", userId: userInfo.userUnqId, - superAdmin: isAdminInfo ? "superAdmin" : "", + ...(isAdminInfo ? { superAdmin: "superAdmin" } : {}), saveList, }; @@ -1977,7 +1977,7 @@ const SewagePipeInp = () => { sggNm: values.gugun === "ALL" ? "" : (values.gugun ?? ""), sewerBzmnCd: values.bsnmCd ?? "", userId: userInfo.userUnqId, - superAdmin: isAdminInfo ? "superAdmin" : "", + ...(isAdminInfo ? { superAdmin: "superAdmin" } : {}), saveList, };