변경 이력 모달의 작업 컬럼 스타일을 수정
This commit is contained in:
parent
c7ae04859d
commit
d7e96327a7
|
|
@ -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>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue