Skip to content

Commit a31eaf0

Browse files
authored
Merge pull request #847 from dxc-technology/jialecl-fixVersionSelect
Fix version select
2 parents 1654788 + 6a4747d commit a31eaf0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/dxc-ngx-cdk-site/src/app/app.component.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ export class AppComponent {
6262
}
6363

6464
selectVersion(value) {
65-
window.location.href = this.versions.find((v) => v.label === value).url;
65+
window.location.href = this.versions.find(
66+
(v) => v.label === value.value
67+
).url;
6668
}
6769

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

0 commit comments

Comments
 (0)