Skip to content

Commit 4fdffdc

Browse files
committed
fix: card href not being set properly
1 parent fd6d34e commit 4fdffdc

File tree

1 file changed

+1
-1
lines changed
  • packages/nimiq-vitepress-theme/src/components

1 file changed

+1
-1
lines changed

packages/nimiq-vitepress-theme/src/components/NqCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const iconColor = computed(() => {
6565
<template>
6666
<component
6767
:is="hasLink ? 'a' : 'div'"
68-
:href class="nq-raw" group relative
68+
:href="hasLink ? href : undefined" class="nq-raw" group relative
6969
:style="`background-image: ${bgColor ? `var(--colors-${bgColor}-gradient)` : ''}`"
7070
:data-inverted="bgColor ? '' : undefined"
7171
:data-card="bgColor ? 'colored' : 'default'"

0 commit comments

Comments
 (0)