File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
superset-frontend/plugins/plugin-chart-table/src Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ import { formatColumnValue } from './utils/formatValue';
89
89
import { PAGE_SIZE_OPTIONS , SERVER_PAGE_SIZE_OPTIONS } from './consts' ;
90
90
import { updateTableOwnState } from './DataTable/utils/externalAPIs' ;
91
91
import getScrollBarSize from './DataTable/utils/getScrollBarSize' ;
92
+ import DateWithFormatter from './utils/DateWithFormatter' ;
92
93
93
94
type ValueRange = [ number , number ] ;
94
95
@@ -936,7 +937,10 @@ export default function TableChart<D extends DataRecord = DataRecord>(
936
937
} ,
937
938
className : [
938
939
className ,
939
- value == null ? 'dt-is-null' : '' ,
940
+ value == null ||
941
+ ( value instanceof DateWithFormatter && value . input == null )
942
+ ? 'dt-is-null'
943
+ : '' ,
940
944
isActiveFilterValue ( key , value ) ? ' dt-is-active-filter' : '' ,
941
945
] . join ( ' ' ) ,
942
946
tabIndex : 0 ,
You can’t perform that action at this time.
0 commit comments