We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5539842 commit c3df1deCopy full SHA for c3df1de
1 file changed
frontend/src/utils/conflictUtils.ts
@@ -494,8 +494,6 @@ export function formatFieldValue(
494
if (typeof value === 'boolean') return value ? 'Yes' : 'No';
495
if (typeof value === 'string') {
496
if (value === '') return '(empty)';
497
- // Truncate long text
498
- if (value.length > 120) return `${value.substring(0, 120)}…`;
499
return value;
500
}
501
if (Array.isArray(value)) {
@@ -508,7 +506,7 @@ export function formatFieldValue(
508
506
return value.join(', ');
509
507
510
if (typeof value === 'object') {
511
- return JSON.stringify(value).substring(0, 120);
+ return JSON.stringify(value, null, 2);
512
513
return String(value);
514
0 commit comments