diff --git a/src/components/management/StuffDetail.jsx b/src/components/management/StuffDetail.jsx index 12ed35f4..e200da48 100644 --- a/src/components/management/StuffDetail.jsx +++ b/src/components/management/StuffDetail.jsx @@ -282,27 +282,26 @@ export default function StuffDetail() { autoHeight: true, cellStyle: { justifyContent: 'center' }, cellRenderer: (params) => { - let buttonStyle = { display: 'flex' } - let buttonStyle2 = { display: 'flex' } + let buttonStyle = '' + let buttonStyle2 = '' if (params.value == null) { - buttonStyle = { - display: 'none', - } - buttonStyle2 = { - display: 'none', - } + buttonStyle = 'none' + buttonStyle2 = 'none' } else { if (params?.data?.createSaleStoreId === 'T01') { if (session?.storeId !== 'T01') { - buttonStyle = { display: 'none' } + buttonStyle = 'none' } } + if (params?.data?.tempFlg === '1') { + buttonStyle2 = 'none' + } } return ( <>