feat: update issue link text to 'Bug' and format link display

This commit is contained in:
mr. m
2026-04-08 13:13:28 +02:00
parent 4199b309aa
commit 73f3318da1
2 changed files with 8 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ const generateItems = (items: any, type: string) => {
...(item.issue ...(item.issue
? { ? {
link: { link: {
text: `Issue #${item.issue}`, text: `Bug #${item.issue}`,
href: `https://github.com/zen-browser/desktop/issues/${item.issue}`, href: `https://github.com/zen-browser/desktop/issues/${item.issue}`,
}, },
} }

View File

@@ -40,9 +40,13 @@ const {
{content && <span class="text-base opacity-80" set:html={content} />} {content && <span class="text-base opacity-80" set:html={content} />}
{ {
link && ( link && (
<a href={link.href} class="text-blue inline-block text-base underline"> <>
{link.text} "("
</a> <a href={link.href} class="text-blue inline-block text-base underline">
{link.text}
</a>
")"
</>
) )
} }
</div> </div>