#2159 user link to edit
This commit is contained in:
parent
7acd312cc5
commit
6dee6fb1d9
@ -23,7 +23,7 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(UserStore,['isloggedin', 'isAdmin', 'mail', 'name'])
|
||||
...mapState(UserStore,['isloggedin', 'isAdmin', 'mail', 'name', 'uid'])
|
||||
},
|
||||
methods: {
|
||||
// ...mapActions({
|
||||
@ -44,7 +44,7 @@ export default {
|
||||
|
||||
<template>
|
||||
<div id="user-tools">
|
||||
<a class="mdi mdi-account" href="/api/user">
|
||||
<a class="mdi mdi-account" :href="'/api/user/'+uid+'/edit'">
|
||||
<svg-icon type="mdi" :path="account_path"></svg-icon>
|
||||
<span>{{ name }}</span>
|
||||
<!-- <span v-else>{{ mail }}</span> -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user