Skip to content

Commit

Permalink
fix: prevent duplicate spec names in top-level selection view paths (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
arvind authored and domoritz committed Feb 20, 2023
1 parent 7379647 commit ba46bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normalize/toplevelselection.ts
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 ba46bd2

Please sign in to comment.