변경 이력 모달의 작업 컬럼 스타일을 수정

This commit is contained in:
dohyeons 2025-12-10 15:11:46 +09:00
parent c7ae04859d
commit d7e96327a7
1 changed files with 4 additions and 8 deletions

View File

@ -115,17 +115,13 @@ export function TableHistoryModal({
const getOperationBadge = (type: string) => { const getOperationBadge = (type: string) => {
switch (type) { switch (type) {
case "INSERT": case "INSERT":
return <Badge className="bg-green-100 text-xs text-green-800"></Badge>; return <span className="text-sm font-medium text-green-600"></span>;
case "UPDATE": case "UPDATE":
return <Badge className="bg-blue-100 text-xs text-blue-800"></Badge>; return <span className="text-sm font-medium text-blue-600"></span>;
case "DELETE": case "DELETE":
return <Badge className="bg-red-100 text-xs text-red-800"></Badge>; return <span className="text-sm font-medium text-red-600"></span>;
default: default:
return ( return <span className="text-sm font-medium text-gray-600">{type}</span>;
<Badge variant="secondary" className="text-xs">
{type}
</Badge>
);
} }
}; };