close user profile on click

This commit is contained in:
Anton Schubert 2017-09-22 16:08:36 +02:00
parent ce89e9a77c
commit 3746ca0fa7

View File

@ -12,7 +12,7 @@
</a>
<nav class="user_menu">
<ul>
<router-link tag="li" v-for="(item, i) in items" :key="i" v-if="showIf(item.show)" :to="item.to" active-class="active" exact>
<router-link tag="li" v-for="(item, i) in items" :key="i" v-if="showIf(item.show)" :to="item.to" active-class="active" exact @click.native="toggleMenu">
<a>
<i :class="['icon', item.icon]"></i>
<div class="title">{{ item.name }}</div>