Skip to content

Commit

Permalink
fix: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Hein Jeong authored and hein-j committed Nov 15, 2022
1 parent e3e285d commit 3b86a7b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5920,7 +5920,11 @@ export default function InputGalleryUpdateForm(props) {
setCurrentArrayTypeFieldValue(undefined);
setJsonArray(cleanValues.jsonArray ?? []);
setCurrentJsonArrayValue(undefined);
setJsonField(cleanValues.jsonField);
setJsonField(
typeof cleanValues.jsonField === \\"string\\"
? cleanValues.jsonField
: JSON.stringify(cleanValues.jsonField)
);
setTimestamp(cleanValues.timestamp);
setIppy(cleanValues.ippy);
setTimeisnow(cleanValues.timeisnow);
Expand Down

0 comments on commit 3b86a7b

Please sign in to comment.