File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
superset-frontend/src/filters/components/Select Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -376,10 +376,13 @@ export default function PluginFilterSelect(props: PluginFilterSelectProps) {
376
376
const prev = prevDataRef . current ;
377
377
const curr = data ;
378
378
379
+ const stringifySafe = ( val : unknown ) =>
380
+ typeof val === 'bigint' ? val . toString ( ) : val ;
381
+
379
382
const hasDataChanged =
380
383
prev ?. length !== curr ?. length ||
381
- JSON . stringify ( prev ?. map ( row => row [ col ] ) ) !==
382
- JSON . stringify ( curr ?. map ( row => row [ col ] ) ) ;
384
+ JSON . stringify ( prev ?. map ( row => stringifySafe ( row [ col ] ) ) ) !==
385
+ JSON . stringify ( curr ?. map ( row => stringifySafe ( row [ col ] ) ) ) ;
383
386
384
387
// If data actually changed (e.g., due to parent filter), reset flag
385
388
if ( hasDataChanged ) {
You can’t perform that action at this time.
0 commit comments