Skip to content

Commit

Permalink
Reverse logic
Browse files Browse the repository at this point in the history
  • Loading branch information
CarolineDenis committed Feb 21, 2025
1 parent e8c5466 commit a7de173
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function FormatterLine({
value="none"
onChange={(): void => {
const firstValue = (typeof values === 'object' && values !== null)
? values["Field Formatters"]?.[0]?.[0] ?? Object.values(values)?.[0]?.[0]?.[0] ?? null
? Object.values(values)?.[0]?.[0]?.[0] ?? values["Field Formatters"]?.[0]?.[0] ?? null
: null;

handleFormatted(name, firstValue);
Expand Down

0 comments on commit a7de173

Please sign in to comment.