Skip to content

Commit d807c49

Browse files
committed
fix array diff bug
1 parent b438f7d commit d807c49

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/components/FeedbackForms/MissingRecord/DiffUtil.ts

-4
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ export const getDiffSections = (leftValues: FormValues, rightValues: FormValues)
4949
const sectionsChanges: DiffSection[] = Object.entries(left).map(([key, value]) => {
5050
const isArray = Array.isArray(value);
5151

52-
if (isArray && value.length === 0) {
53-
return null;
54-
}
55-
5652
let changes: (ArrayChange<string> | Change)[] = [];
5753

5854
try {

0 commit comments

Comments
 (0)