From 4673762ba51513187bd2586001b7fbd76bef4118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lev=20Z=20Kir=C3=A1ly?= Date: Tue, 19 Dec 2023 13:22:38 +0100 Subject: [PATCH] fix: inconsequent param naming (textId) #100 --- composables/use-anchor-click-handler.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/composables/use-anchor-click-handler.ts b/composables/use-anchor-click-handler.ts index 0def3a9..30fd47a 100644 --- a/composables/use-anchor-click-handler.ts +++ b/composables/use-anchor-click-handler.ts @@ -15,6 +15,8 @@ export function useAnchorClickHandler() { event.preventDefault(); + if (typeof item.textId !== "undefined") item.id = item.textId; // TODO: standardize param names coming from the backend + addWindow({ kind: item.targetType, params: item,