Compare commits
2 Commits
91f9bb9d12
...
2327dbe35c
| Author | SHA1 | Date |
|---|---|---|
|
|
2327dbe35c | |
|
|
b9ee860e71 |
|
|
@ -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) && (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue