From 4134fb25c0a38cfef58e1a07514db7fc5cd673cb Mon Sep 17 00:00:00 2001 From: basssy Date: Fri, 25 Oct 2024 09:01:22 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AC=BC=EA=B1=B4=EC=83=81=EC=84=B8=20?= =?UTF-8?q?=ED=94=8C=EB=9E=9C=20=EA=B2=AC=EC=A0=81=EC=84=9C=20=EC=97=91?= =?UTF-8?q?=EC=85=80=20=EB=B2=84=ED=8A=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/management/StuffDetail.jsx | 53 +++++++++++++---------- 1 file changed, 31 insertions(+), 22 deletions(-) diff --git a/src/components/management/StuffDetail.jsx b/src/components/management/StuffDetail.jsx index d947da2b..b96818dc 100644 --- a/src/components/management/StuffDetail.jsx +++ b/src/components/management/StuffDetail.jsx @@ -232,29 +232,38 @@ export default function StuffDetail() { autoHeight: true, cellStyle: { justifyContent: 'center' }, cellRenderer: (params) => { - console.log('params::', params.value) + let buttonStyle + if (params.value == null) { + buttonStyle = { + display: 'none', + } + } + return ( -
- - -
+ <> +
+ + +
+ ) }, },