Skip to content

Commit

Permalink
Update packages/perspective-viewer-d3fc/src/ts/legend/filter.ts
Browse files Browse the repository at this point in the history
Co-authored-by: asrar <[email protected]>
Signed-off-by: Onesimus Wiafe <[email protected]>
  • Loading branch information
onesimus-wiafe and aszenz committed Nov 25, 2024
1 parent ab28549 commit 2f967db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/perspective-viewer-d3fc/src/ts/legend/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function refineDateData(
settings: Settings,
data: any[] | undefined = undefined
) {
let dataToRefine = data !== undefined ? data : settings.data;
let dataToRefine = data ?? settings.data;

settings.crossValues.forEach((value, index) => {
if (
Expand Down

0 comments on commit 2f967db

Please sign in to comment.