Skip to content

Commit

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

* 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 and philipher29 committed Jun 9, 2022
1 parent 4d951f3 commit 5f1dc9d
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 5f1dc9d

Please sign in to comment.