Skip to content

Commit

Permalink
fix: clicking a link in the meta panel opens the link
Browse files Browse the repository at this point in the history
close #74
  • Loading branch information
cablehead committed Jun 13, 2024
1 parent 221eb46 commit 4c5b7f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/panels/meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ function getMeta(stack: Stack, item: Item, content: Content): MetaValue[] {
<a
onClick={(e) => {
e.preventDefault();
attemptActionByName("Open", stack);
// todo: these names need to be enums that are typed checked
attemptActionByName("Open link in browser", stack);
}}
style="cursor: pointer;"
>
Expand Down

0 comments on commit 4c5b7f1

Please sign in to comment.