Skip to content

Commit

Permalink
fix(vue-renderer): pass href to router-link
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Rudolph committed Jul 6, 2020
1 parent 350c300 commit 99edefe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<router-link v-if="linkType === 'story'" :target="target">
<router-link v-if="linkType === 'story'" :target="target" :to="href">
<slot />
</router-link>
<a v-else-if="linkType === 'email'" :href="`mailto:${href}`"><slot /></a>
Expand Down

0 comments on commit 99edefe

Please sign in to comment.