From e255ac93eb2e47e784f12fa21d858030f08d4355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Kilchenmann?= Date: Wed, 23 Mar 2022 09:44:08 +0100 Subject: [PATCH] fix(help): refactor version number and fix dead link (DEV-678) (#693) * fix(help): resolve dead link * fix(help): fix dead link to gh releases --- src/app/main/help/help.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/main/help/help.component.ts b/src/app/main/help/help.component.ts index 5f0e6fa970..b663f37a4b 100644 --- a/src/app/main/help/help.component.ts +++ b/src/app/main/help/help.component.ts @@ -59,7 +59,7 @@ export class HelpComponent implements OnInit { { title: 'DSP-API ', text: 'Framework to store, share, and work with primary resources in the humanities.', - url: 'https://github.com/dasch-swiss/dsp-api/releases/tag/', + url: 'https://github.com/dasch-swiss/dsp-api/releases/tag/v', urlText: 'Release notes' }, { @@ -111,7 +111,7 @@ export class HelpComponent implements OnInit { this.apiVersion = response.body; // set dsp-app version - this.tools[0].title += ' v' + this.appVersion; + this.tools[0].title += this.appVersion; this.tools[0].url += this.appVersion; // set dsp-api version @@ -119,7 +119,7 @@ export class HelpComponent implements OnInit { this.tools[1].url += this.apiVersion.webapi; // set dsp-sipi version - this.tools[2].title += ' v' + this.apiVersion.sipi; + this.tools[2].title += this.apiVersion.sipi; this.tools[2].url += this.apiVersion.sipi; }, (error: ApiResponseError) => {