summaryrefslogtreecommitdiff
path: root/components/form-data
diff options
context:
space:
mode:
Diffstat (limited to 'components/form-data')
-rw-r--r--components/form-data/form-data-table-columns.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/form-data/form-data-table-columns.tsx b/components/form-data/form-data-table-columns.tsx
index 2c6b6a30..b02765a4 100644
--- a/components/form-data/form-data-table-columns.tsx
+++ b/components/form-data/form-data-table-columns.tsx
@@ -475,8 +475,12 @@ export function getColumns<TData extends object>({
setRowAction({ row, type: "delete" });
}}
className="text-red-600 focus:text-red-600"
+ disabled={row.original?.source !== "EVCP"} // EVCP에서 생성한 태그만 삭제 가능
>
Delete
+ {row.original?.source && row.original.source !== "EVCP" && (
+ <span className="ml-2 text-xs text-muted-foreground">(S-EDP)</span>
+ )}
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>