Skip to content

An open source alternative to Tableau. Embeddable visual analytic

fix: not in with aggeration filter (#226)

islxyqwe54aa8cbfc4f5
diff --git a/packages/graphic-walker/src/utils/workflow.ts b/packages/graphic-walker/src/utils/workflow.ts
index b4dcfdb4..2a2c081b 100644
--- a/packages/graphic-walker/src/utils/workflow.ts
+++ b/packages/graphic-walker/src/utils/workflow.ts
@@ -100,7 +100,7 @@ export const toWorkflow = (
};
} else if (rule.type === 'not in') {
return {
- fid: f.fid,
+ fid,
rule: {
type: 'not in',
value: [...rule.value],
@@ -119,7 +119,7 @@ export const toWorkflow = (
const neverRule: never = rule;
console.error('unknown rule', neverRule);
return {
- fid: f.fid,
+ fid,
rule,
};
}