Skip to content

Commit

Permalink
Merge pull request #847 from dxc-technology/jialecl-fixVersionSelect
Browse files Browse the repository at this point in the history
Fix version select
  • Loading branch information
aidamag authored Aug 3, 2022
2 parents 1654788 + 6a4747d commit a31eaf0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion projects/dxc-ngx-cdk-site/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ export class AppComponent {
}

selectVersion(value) {
window.location.href = this.versions.find((v) => v.label === value).url;
window.location.href = this.versions.find(
(v) => v.label === value.value
).url;
}

isArrowVisible = (page: string) => (page === "components" ? false : true);
Expand Down

0 comments on commit a31eaf0

Please sign in to comment.