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