Skip to content

Commit

Permalink
Fix logo link in info panel
Browse files Browse the repository at this point in the history
  • Loading branch information
t11r committed Apr 10, 2024
1 parent d08f7b0 commit cfeb65d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/ViewInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@
>
<p v-for="logo, index in logos" :key="index">
<a
v-if="logo.id"
:href="logo.id"
v-if="logo.link"
:href="logo.link"
>
<!-- TODO: This alt string is not accessible, but there is no way to get a proper one -->
<img
Expand Down Expand Up @@ -194,6 +194,11 @@ export default {
}
});
logos = logos.map((logo) => ({
id: logo.id,
link: logo.service?.[0]?.id || logo.service?.[0]?.['@id'],
}));
return logos;
},
},
Expand Down

0 comments on commit cfeb65d

Please sign in to comment.