Skip to content

Commit

Permalink
Include close preview change modal event
Browse files Browse the repository at this point in the history
Signed-off-by: Wei-Chun, Chang <[email protected]>
  • Loading branch information
wcchang1115 committed Dec 23, 2024
1 parent 7754cbb commit 938646d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/src/components/lineage/PreviewChangeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export function PreviewChangeView({
onRunResultClose();
clearRunResult();
closeToast();
trackPreviewChange({ action: "close" });
}}
>
{/* <ModalOverlay /> */}
Expand Down
2 changes: 1 addition & 1 deletion js/src/lib/api/track.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function trackHistoryAction(props: HistoryActionProps) {
}

interface PreviewChangeProps {
action: "explore" | "run";
action: "explore" | "run" | "close";
node?: string;
}

Expand Down

0 comments on commit 938646d

Please sign in to comment.