From a804c38a81324acb48156491c6a777f2820905a9 Mon Sep 17 00:00:00 2001 From: basssy Date: Mon, 3 Feb 2025 08:56:40 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AC=BC=EA=B1=B4=EC=83=81=EC=84=B8=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EB=85=B8=EC=B6=9C=20=EC=A1=B0=EA=B1=B4=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/management/StuffDetail.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/management/StuffDetail.jsx b/src/components/management/StuffDetail.jsx index e1034cc9..e4ef732c 100644 --- a/src/components/management/StuffDetail.jsx +++ b/src/components/management/StuffDetail.jsx @@ -351,7 +351,7 @@ export default function StuffDetail() { //createUser가 T01인데 로그인사용자가 T01이 아니면 버튼숨기기 setShowButton('none') } else { - if (session.storeId !== res?.data?.createUser) { + if (session.userId !== res?.data?.createUser) { setShowButton('none') } } @@ -1437,7 +1437,7 @@ export default function StuffDetail() { if (res?.data?.createUser === 'T01' && session?.userId !== 'T01') { setShowButton('none') } else { - if (session.storeId !== res?.data?.createUser) { + if (session.userId !== res?.data?.createUser) { setShowButton('none') } }