Skip to content

Commit b3ec890

Browse files
committed
Review
1 parent dd92b91 commit b3ec890

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/apps/weblib/js-api/data.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,7 @@ export default class Data {
269269
this.chart.module.removeFunction(callbackPtrs[1]);
270270
};
271271
callbackPtrs.push(this.chart.module.addFunction(deleter, "vi"));
272-
this.chart._call(this.chart.module._chart_setFilter)(
273-
callbackPtrs[0],
274-
callbackPtrs[1]
275-
);
272+
this.chart._call(this.chart.module._chart_setFilter)(...callbackPtrs);
276273
} else if (filter === null) {
277274
this.chart._call(this.chart.module._chart_setFilter)(0, 0);
278275
} else {

0 commit comments

Comments
 (0)