Skip to content

Commit

Permalink
fix(explore): make to null formatter move before timeFormatter
Browse files Browse the repository at this point in the history
  • Loading branch information
prosdev0107 committed Mar 22, 2022
1 parent 7435a96 commit 308e39c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,12 +308,12 @@ export const useTableColumns = (
if (value === false) {
return BOOL_FALSE_DISPLAY;
}
if (timeFormattedColumnIndex > -1) {
return timeFormatter(value);
}
if (value === null) {
return <CellNull>{NULL_DISPLAY}</CellNull>;
}
if (timeFormattedColumnIndex > -1) {
return timeFormatter(value);
}
return String(value);
},
...moreConfigs?.[key],
Expand Down

0 comments on commit 308e39c

Please sign in to comment.