mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-05 11:13:08 +02:00
fix: router issue due to click to open
This commit is contained in:
parent
3d11e442e6
commit
731a686b57
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue