Skip to content

Commit

Permalink
fix(chat): content link
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Oct 17, 2023
1 parent a1327f8 commit e78e5ce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/chat-component/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,11 @@ export class ChatComponent extends LitElement {
${citations.map(
(citation) => html`
<li class="items__listItem--citation">
<a class="items__link" href="${citation.text}" target="_blank" rel="noopener noreferrer"
<a
class="items__link"
href="${this.apiUrl}/content/${citation.text}"
target="_blank"
rel="noopener noreferrer"
>${citation.ref}. ${citation.text}</a
>
</li>
Expand Down

0 comments on commit e78e5ce

Please sign in to comment.