fix: router issue due to click to open

This commit is contained in:
Mar0xy 2023-10-15 18:52:47 +02:00
parent 3d11e442e6
commit 731a686b57
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-->
<template>
<a :href="to" :class="active ? activeClass : null" @click.prevent="nav" @contextmenu.prevent.stop="onContextmenu">
<a :href="to" :class="active ? activeClass : null" @click.prevent="nav" @contextmenu.prevent.stop="onContextmenu" v-on:click.stop>
<slot></slot>
</a>
</template>