Skip to content

Commit

Permalink
fix: Supprimer des tris inutiles
Browse files Browse the repository at this point in the history
  • Loading branch information
ch-benard committed Jan 22, 2025
1 parent 22f49df commit 5fc52c9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,11 @@ export default mode => ([
];

if (mode !== 'create') {
console.log('shantytown.write.validator:', JSON.stringify(updatedPreparatoryPhasesTowardResorption));
fieldsToCheck.push({
key: 'preparatory_phases_toward_resorption',
submitedValue: updatedPreparatoryPhasesTowardResorption ? JSON.stringify(updatedPreparatoryPhasesTowardResorption.sort()) : null,
storedValue: existingPreparatoryPhasesTowardResorption ? JSON.stringify(existingPreparatoryPhasesTowardResorption.sort()) : null,
submitedValue: updatedPreparatoryPhasesTowardResorption ? JSON.stringify(updatedPreparatoryPhasesTowardResorption) : null,
storedValue: existingPreparatoryPhasesTowardResorption ? JSON.stringify(existingPreparatoryPhasesTowardResorption) : null,
});
}

Expand Down

0 comments on commit 5fc52c9

Please sign in to comment.