diff --git a/web/src/lib/objects.ts b/web/src/lib/objects.ts index 5276e267f..6a191b72f 100644 --- a/web/src/lib/objects.ts +++ b/web/src/lib/objects.ts @@ -45,7 +45,7 @@ export const compareObjectsByKeys = ( // Handle other objects if (typeof val1 === 'object' && typeof val2 === 'object') { - const isWasEqual = isEqual(JSON.stringify(val1), JSON.stringify(val2)); + const isWasEqual = isEqual(val1, val2) || isEqual(JSON.stringify(val1), JSON.stringify(val2)); return isWasEqual; }