Skip to content

Commit

Permalink
fix: prevent duplicate spec names in top-level selection view paths (v…
Browse files Browse the repository at this point in the history
  • Loading branch information
arvind authored and BradyJ27 committed Oct 19, 2023
1 parent 0522c64 commit f714af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normalize/toplevelselection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class TopLevelSelectionsNormalizer extends SpecMapper<NormalizerParams, N
}

normParams.selections = selections;
return super.map(spec, addSpecNameToParams(spec, normParams));
return super.map(spec, normParams);
}

public mapUnit(spec: UnitSpec<Field>, normParams: NormalizerParams): NormalizedUnitSpec | NormalizedLayerSpec {
Expand Down

0 comments on commit f714af5

Please sign in to comment.