mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-02 20:32:39 +02:00
fix: update response action label in ParsedArticle component
This commit is contained in:
parent
360e85307b
commit
25c1fa0f49
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ function ParsedArticle({ result }: { result: unknown }) {
|
|||
<Article
|
||||
{...article}
|
||||
maxWidth="480px"
|
||||
responseActions={[{ id: "open", label: "Open Source", variant: "default" }]}
|
||||
responseActions={[{ id: "open", label: "Open Link", variant: "default" }]}
|
||||
onResponseAction={(id) => {
|
||||
if (id === "open" && article.href) {
|
||||
window.open(article.href, "_blank", "noopener,noreferrer");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue