Skip to content

Commit c3df1de

Browse files
committed
fix:remove truncation in conflict resolution
1 parent 5539842 commit c3df1de

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

frontend/src/utils/conflictUtils.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,6 @@ export function formatFieldValue(
494494
if (typeof value === 'boolean') return value ? 'Yes' : 'No';
495495
if (typeof value === 'string') {
496496
if (value === '') return '(empty)';
497-
// Truncate long text
498-
if (value.length > 120) return `${value.substring(0, 120)}…`;
499497
return value;
500498
}
501499
if (Array.isArray(value)) {
@@ -508,7 +506,7 @@ export function formatFieldValue(
508506
return value.join(', ');
509507
}
510508
if (typeof value === 'object') {
511-
return JSON.stringify(value).substring(0, 120);
509+
return JSON.stringify(value, null, 2);
512510
}
513511
return String(value);
514512
}

0 commit comments

Comments
 (0)