mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-17 13:38:05 +00:00
Register users from admin page
This commit is contained in:
@@ -5,9 +5,6 @@ export default {
|
||||
drawyer: false,
|
||||
isAdmin: false
|
||||
}),
|
||||
created () {
|
||||
this.getCurrentUser()
|
||||
},
|
||||
methods: {
|
||||
home () {
|
||||
this.$router.push('/')
|
||||
@@ -27,6 +24,7 @@ export default {
|
||||
})
|
||||
},
|
||||
getCurrentUser () {
|
||||
this.drawyer = true
|
||||
this.$http.get('/users/current')
|
||||
.then(response => {
|
||||
if (response.status === 200) {
|
||||
|
||||
Reference in New Issue
Block a user