Skip to content
Permalink
Browse files
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
  • Loading branch information
kilchenmann committed Mar 23, 2022
1 parent bee5caf commit e255ac93eb2e47e784f12fa21d858030f08d4355
Showing 1 changed file with 3 additions and 3 deletions.
@@ -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,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) => {

0 comments on commit e255ac9

Please sign in to comment.