Compare commits

..

2 Commits

1 changed files with 45 additions and 39 deletions

View File

@ -2150,7 +2150,10 @@ export const SplitPanelLayoutComponent: React.FC<SplitPanelLayoutComponentProps>
{col.label} {col.label}
</th> </th>
))} ))}
{!isDesignMode && ( {/* 수정 또는 삭제 버튼이 하나라도 활성화되어 있을 때만 작업 컬럼 표시 */}
{!isDesignMode &&
((componentConfig.rightPanel?.editButton?.enabled ?? true) ||
(componentConfig.rightPanel?.deleteButton?.enabled ?? true)) && (
<th className="px-3 py-2 text-right text-xs font-medium text-gray-500 uppercase"> <th className="px-3 py-2 text-right text-xs font-medium text-gray-500 uppercase">
</th> </th>
@ -2172,7 +2175,10 @@ export const SplitPanelLayoutComponent: React.FC<SplitPanelLayoutComponentProps>
{formatCellValue(col.name, item[col.name], rightCategoryMappings, col.format)} {formatCellValue(col.name, item[col.name], rightCategoryMappings, col.format)}
</td> </td>
))} ))}
{!isDesignMode && ( {/* 수정 또는 삭제 버튼이 하나라도 활성화되어 있을 때만 작업 셀 표시 */}
{!isDesignMode &&
((componentConfig.rightPanel?.editButton?.enabled ?? true) ||
(componentConfig.rightPanel?.deleteButton?.enabled ?? true)) && (
<td className="px-3 py-2 text-right text-sm whitespace-nowrap"> <td className="px-3 py-2 text-right text-sm whitespace-nowrap">
<div className="flex justify-end gap-1"> <div className="flex justify-end gap-1">
{(componentConfig.rightPanel?.editButton?.enabled ?? true) && ( {(componentConfig.rightPanel?.editButton?.enabled ?? true) && (