Skip to content
Snippets Groups Projects
Commit 7adf4c30 authored by Alex Reinhardt's avatar Alex Reinhardt
Browse files

Fix links without tags

parent 3d91387a
No related branches found
No related tags found
No related merge requests found
Pipeline #153282 passed
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<h4 class="m-0" slot="header">{tag}</h4> <h4 class="m-0" slot="header">{tag}</h4>
{data.tags[tag].description}<br /> {data.tags[tag].description}<br />
{#each data.shortlinks {#each data.shortlinks
.filter((e) => e['tags'].includes(tag)) .filter((e) => e['tags'] != null && e['tags'].includes(tag))
.sort((a, b) => a.sources[0].localeCompare(b.sources[0])) as link} .sort((a, b) => a.sources[0].localeCompare(b.sources[0])) as link}
<Button style="margin: 2px;" href={link.destination} color="primary" outline <Button style="margin: 2px;" href={link.destination} color="primary" outline
>/{link.sources[0]}</Button >/{link.sources[0]}</Button
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment