Skip to content

Commit

Permalink
fix(chat): make link target behavior configurable for announcement ba…
Browse files Browse the repository at this point in the history
…nners
  • Loading branch information
nsarrazin committed Dec 9, 2024
1 parent 0a86e62 commit 1dad874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/chat/ChatIntroduction.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{#each announcementBanners as banner}
<AnnouncementBanner classNames="mb-4" title={banner.title}>
<a
target="_blank"
target={banner.external ? "_blank" : undefined}
href={banner.linkHref}
class="mr-2 flex items-center underline hover:no-underline">{banner.linkTitle}</a
>
Expand Down

0 comments on commit 1dad874

Please sign in to comment.