Skip to content

Commit faf6545

Browse files
author
shuai
committed
feat: ui algolia plugin add link
1 parent ce970a0 commit faf6545

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

i18n/en_US.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ ui:
14301430
fields:
14311431
users:
14321432
label: Bulk add user
1433-
placeholder: "John Smith, john@example.com, BUSYopr2 \nAlice, alice@example.com, fpDntV8q"
1433+
placeholder: "John Smith, john@example.com, BUSYopr2\nAlice, alice@example.com, fpDntV8q"
14341434
text: Separate “name, email, password” with commas. One user per line.
14351435
msg: "Please enter the user's email, one per line."
14361436
display_name:

ui/src/plugins/builtin/Algolia/index.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ const Index: FC = () => {
2222
if (!data?.icon) return null;
2323

2424
return (
25-
<div className="d-flex align-items-center">
25+
<a
26+
className="d-flex align-items-center"
27+
href="https://www.algolia.com/"
28+
target="_blank"
29+
rel="noopener noreferrer">
2630
<span className="small text-secondary me-2">{t('search_by')}</span>
2731
<SvgIcon base64={data?.icon} />
28-
</div>
32+
</a>
2933
);
3034
};
3135

0 commit comments

Comments
 (0)