아이디값 제거

This commit is contained in:
kjs
2025-10-27 11:50:25 +09:00
parent a3bfcdf2d8
commit 783ce5594e

View File

@@ -195,6 +195,10 @@ export function TableHistoryModal({
return null;
};
// 단일 레코드 모드에서 displayColumn 값 가져오기
const recordDisplayValue =
recordId && displayColumn && detailRecords.length > 0 ? getDisplayValue(detailRecords[0]) : null;
return (
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="max-h-[90vh] max-w-[95vw] sm:max-w-[900px]">
@@ -210,7 +214,7 @@ export function TableHistoryModal({
</DialogTitle>
<DialogDescription className="text-xs sm:text-sm">
{recordId
? `${recordLabel || `레코드 ID: ${recordId}`} - ${tableName} 테이블`
? `${recordDisplayValue || recordLabel || "-"} - ${tableName} 테이블`
: `${tableName} 테이블 전체 이력`}
</DialogDescription>
</DialogHeader>