Skip to content

Commit

Permalink
fix(link to controlled vocabulary): Link to correct route (#1207)
Browse files Browse the repository at this point in the history
  • Loading branch information
domsteinbach committed Sep 27, 2023
1 parent a70388c commit 51bae4b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -185,7 +185,7 @@ export class ResourceClassPropertyInfoComponent
const listIri = this.propDef.guiAttributes[0].match(re)[1];
const listUrl = `/project/${
this.projectUuid
}/lists/${encodeURIComponent(listIri)}`;
}/list/${listIri.split('/').pop()}`;
const list = response.find((i) => i.id === listIri);
this.propAttribute = `<a href="${listUrl}">${list.labels[0].value}</a>`;
this.propAttributeComment = list.comments.length
Expand Down

0 comments on commit 51bae4b

Please sign in to comment.