Skip to content

Build your personal knowledge base with Trilium Notes

client/options/search: add support for the ETAPI token list

Adorian Dorana5190ba1dfc5
diff --git a/apps/client/src/widgets/type_widgets/options/etapi.tsx b/apps/client/src/widgets/type_widgets/options/etapi.tsx
index 174d30503d..e7810decca 100644
--- a/apps/client/src/widgets/type_widgets/options/etapi.tsx
+++ b/apps/client/src/widgets/type_widgets/options/etapi.tsx
@@ -111,7 +111,9 @@ function TokenList({ tokens }: { tokens: EtapiToken[] }) {
}
return (
- <Card>
+ // A card of tokens the user named themselves, with no name of its own to be found by: the
+ // page's own sentence about what ETAPI is stands in for one.
+ <Card filterExtraKeywords={`${t("etapi.description")} ${t("etapi.token_name")}`}>
{tokens.map(({ etapiTokenId, name, utcDateCreated }) => (
<OptionCardSection
key={etapiTokenId ?? name}