Skip to content

Commit

Permalink
fix(Link): use exact
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Mar 1, 2022
1 parent d4b6599 commit 7737242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/elements/Link.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
:class="resolveLinkClass({ isActive, isExactActive })"
@click="navigate"
>
<slot v-bind="{ isActive: props.exact ? isExactActive : isActive }" />
<slot v-bind="{ isActive: exact ? isExactActive : isActive }" />
</a>
</router-link>
</template>
Expand Down

1 comment on commit 7737242

@vercel
Copy link

@vercel vercel bot commented on 7737242 Mar 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.