mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
fix: Null values on Treemap right-click (#21722)
This commit is contained in:
committed by
GitHub
parent
61319fd759
commit
0ff1e49e3c
@@ -19,6 +19,7 @@
|
||||
import { DataRecordValue, QueryObjectFilterClause } from '@superset-ui/core';
|
||||
import React, { useCallback } from 'react';
|
||||
import Echart from '../components/Echart';
|
||||
import { NULL_STRING } from '../constants';
|
||||
import { EventHandlers } from '../types';
|
||||
import { extractTreePathInfo } from './constants';
|
||||
import { TreemapTransformedProps } from './types';
|
||||
@@ -97,7 +98,7 @@ export default function EchartsTreemap({
|
||||
filters.push({
|
||||
col: groupby[i],
|
||||
op: '==',
|
||||
val: path,
|
||||
val: path === 'null' ? NULL_STRING : path,
|
||||
formattedVal: path,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user