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}){ 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>