fixed linting

This commit is contained in:
Markus 2023-07-28 14:36:32 +02:00
parent 9849a13999
commit f1fc2e07f7

View File

@ -449,12 +449,12 @@ export default {
})
},
redirectToUserProfile({user}){
let userID = user.id
let userName = user.name.toLowerCase().replaceAll(" ", "-")
let url = `/profile/${userID}/${userName}`
this.$router.push({ path: url });
}
redirectToUserProfile({ user }) {
const userID = user.id
const userName = user.name.toLowerCase().replaceAll(' ', '-')
const url = `/profile/${userID}/${userName}`
this.$router.push({ path: url })
},
},
}
</script>