Skip to content

Commit bfdd610

Browse files
Merge pull request #150 from dxc-technology/jcheng-selectVersion
selectVersion Fix
2 parents f36e3c5 + 1c09335 commit bfdd610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class AppComponent {
4141

4242

4343
selectVersion(value) {
44-
window.location.href = this.versions.find((v) => v.label === value).url;
44+
window.location.href = this.versions.find((v) => v.label === value.toString()).url;
4545
}
4646

4747
ngOnDestroy(): void {

0 commit comments

Comments
 (0)