Skip to content

Commit

Permalink
fix(help): refactor version number and fix dead link (DEV-678) (#693)
Browse files Browse the repository at this point in the history
* fix(help): resolve dead link

* fix(help): fix dead link to gh releases
  • Loading branch information
kilchenmann committed Mar 23, 2022
1 parent bee5caf commit e255ac9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/main/help/help.component.ts
Expand Up @@ -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'
},
{
Expand Down Expand Up @@ -111,15 +111,15 @@ 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
this.tools[1].title += this.apiVersion.webapi;
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) => {
Expand Down

0 comments on commit e255ac9

Please sign in to comment.