From fd66da95f3d417d29e631e97aed8d5f770a677bc Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 26 Feb 2025 23:42:03 +0200 Subject: [PATCH] fix(options/etapi): comments being visible to the user --- src/public/app/widgets/type_widgets/options/etapi.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/public/app/widgets/type_widgets/options/etapi.ts b/src/public/app/widgets/type_widgets/options/etapi.ts index fc6336f3c..36a37cc27 100644 --- a/src/public/app/widgets/type_widgets/options/etapi.ts +++ b/src/public/app/widgets/type_widgets/options/etapi.ts @@ -9,11 +9,10 @@ const TPL = `

${t("etapi.title")}

- // TriliumNextTODO: src/public/app/services/link.ts -> prevents regular click behavior on "a" element here - // because it is a relative path, and not a URL starting with http(s) -> onclick="window.open(...)" is used as workaround for now

${t("etapi.description")}
${t("etapi.see_more", { link_to_wiki: `${t("etapi.wiki")}`, + // TODO: We use window.open src/public/app/services/link.ts -> prevents regular click behavior on "a" element here because it's a relative path link_to_openapi_spec: `${t("etapi.openapi_spec")}`, link_to_swagger_ui: `${t("etapi.swagger_ui")}` })}