Skip to content

Commit

Permalink
fix: inconsequent param naming (textId) #100
Browse files Browse the repository at this point in the history
  • Loading branch information
Lev Z Király authored and Lev Z Király committed Dec 19, 2023
1 parent 08c30fd commit 4673762
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions composables/use-anchor-click-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4673762

Please sign in to comment.