From 1c09335280a7be2b708157da846777e5b92f65a7 Mon Sep 17 00:00:00 2001 From: Cheng Date: Tue, 3 Nov 2020 13:57:35 +0100 Subject: [PATCH] selectVersion Fix --- projects/dxc-ngx-cdk-site/src/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/dxc-ngx-cdk-site/src/app/app.component.ts b/projects/dxc-ngx-cdk-site/src/app/app.component.ts index ca5a7fc02..bbb9c8728 100644 --- a/projects/dxc-ngx-cdk-site/src/app/app.component.ts +++ b/projects/dxc-ngx-cdk-site/src/app/app.component.ts @@ -41,7 +41,7 @@ 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.toString()).url; } ngOnDestroy(): void {