From f1fc2e07f700f47d340231f66a3c5e9628e41af2 Mon Sep 17 00:00:00 2001 From: Markus Date: Fri, 28 Jul 2023 14:36:32 +0200 Subject: [PATCH] fixed linting --- webapp/components/Chat/Chat.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index 348527a3c..eb0ce4433 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -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 }) + }, }, }