Skip to content

Commit

Permalink
fix(tool): hide link if there is no href
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 committed Dec 29, 2019
1 parent 1d5c832 commit 64c5113
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/tool.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<b-card-sub-title class="mb-2">{{ blok.subheading }}</b-card-sub-title>
<v-card-text v-if="blok.text">{{ blok.text }}</v-card-text>
<b-button
v-if="blok.href"
:href="blok.href"
target="_blank"
rel="noopener"
Expand Down

0 comments on commit 64c5113

Please sign in to comment.