Skip to content

Commit

Permalink
fix(explore): make to show the null value as N/A in view result (#19603)
Browse files Browse the repository at this point in the history
* fix(explore): make to show the null value as N/A in view result

* fix(explore): make to remove console

* fix(explore): make to remove console in Cell

* fix(explore): make to translate N/A
  • Loading branch information
prosdev0107 authored Apr 19, 2022
1 parent a2d34ec commit 34323f9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@ export const useFilteredTableData = (
const rowsAsStrings = useMemo(
() =>
data?.map((row: Record<string, any>) =>
Object.values(row).map(value => value?.toString().toLowerCase()),
Object.values(row).map(value =>
value ? value.toString().toLowerCase() : t('N/A'),
),
) ?? [],
[data],
);
Expand Down

0 comments on commit 34323f9

Please sign in to comment.