perspective:removed filterInfos,using only filters

This commit is contained in:
Jan Prochazka
2022-08-07 16:48:27 +02:00
parent 3f9bd100e1
commit 6154b4c780
4 changed files with 36 additions and 32 deletions

View File

@@ -78,9 +78,9 @@ export function getPerspectiveNodeMenu(props: PerspectiveNodeMenuProps) {
onClick: () =>
setConfig(cfg => ({
...cfg,
filterInfos: {
...cfg.filterInfos,
[node.uniqueName]: filterInfo,
filters: {
...cfg.filters,
[node.uniqueName]: '',
},
})),
},