Skip to content

Commit

Permalink
fix(panel-table-item): be able to click link
Browse files Browse the repository at this point in the history
  • Loading branch information
CedrikNikita committed Aug 15, 2024
1 parent 78257af commit 390845f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/popup/components/PanelTableItem.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<Component
:is="(href) ? 'LinkButton' : 'div'"
:to="href"
:href="href"
:is-external="isExternalLink"
:class="{
clickable: !!href,
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/__snapshots__/snapshot.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ exports[`Pages About 1`] = `
</div>
<a
class="link-button variant-default clickable panel-table-item"
href="https://github.com/aeternity/superhero-wallet/commit/a1c1c5acc851c49248aad87088963f9ae5fb200e"
rel="noopener noreferrer"
target="_blank"
to="https://github.com/aeternity/superhero-wallet/commit/a1c1c5acc851c49248aad87088963f9ae5fb200e"
>
<div
Expand Down

0 comments on commit 390845f

Please sign in to comment.