mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix(explore): make to show the null value as N/A in view result (#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
This commit is contained in:
@@ -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],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user