[web-src] Fix multiple triggering of navbar-links routes

This commit is contained in:
chme 2019-10-27 07:39:29 +01:00
parent f500b21c94
commit f1742b18b3

View File

@ -1,5 +1,5 @@
<template>
<a class="navbar-item" :class="{ 'is-active': is_active }" @click="open_link()" :href="full_path()">
<a class="navbar-item" :class="{ 'is-active': is_active }" @click.prevent="open_link()" :href="full_path()">
<slot></slot>
</a>
</template>