mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
fixed linting
This commit is contained in:
parent
9849a13999
commit
f1fc2e07f7
@ -449,12 +449,12 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
redirectToUserProfile({user}){
|
redirectToUserProfile({ user }) {
|
||||||
let userID = user.id
|
const userID = user.id
|
||||||
let userName = user.name.toLowerCase().replaceAll(" ", "-")
|
const userName = user.name.toLowerCase().replaceAll(' ', '-')
|
||||||
let url = `/profile/${userID}/${userName}`
|
const url = `/profile/${userID}/${userName}`
|
||||||
this.$router.push({ path: url });
|
this.$router.push({ path: url })
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user