We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9735f7a commit 310f92eCopy full SHA for 310f92e
generator/templates/Default/src/components/ProfileMenu.vue
@@ -13,7 +13,7 @@
13
</v-btn>
14
</template>
15
<v-list>
16
- <v-list-item @click="routeTo('profile')">
+ <v-list-item :to="{name:'profile'}">
17
<v-list-item-title>Profiel</v-list-item-title>
18
</v-list-item>
19
<v-list-item @click="logout">
@@ -37,9 +37,6 @@
37
38
},
39
methods: {
40
- routeTo(name) {
41
- this.$router.push({name: name});
42
- },
43
logout() {
44
this.$store.dispatch('Authorization/unauthorized');
45
}
0 commit comments