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,