Skip to content

Commit

Permalink
fix inversion of if
Browse files Browse the repository at this point in the history
  • Loading branch information
awildturtok committed Jan 2, 2024
1 parent cd2778b commit ee019b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/js/preview-v2/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function Table({ data, queryData }: Props) {
const listType = cellType.match(/LIST\[(?<listtype>.*)\]/)?.groups?.[
"listtype"
];
if (!listType) {
if (listType) {
const listTypeRenderFunction = getRenderFunction(listType);
return (value) =>
value ?
Expand Down

0 comments on commit ee019b7

Please sign in to comment.