From caa7e8e1fb74bc38325d436069241d02bc446b70 Mon Sep 17 00:00:00 2001 From: Markus Date: Thu, 13 Jul 2023 18:47:36 +0200 Subject: [PATCH 01/12] [refactor] updated ui of creat post page --- .../ContributionForm/ContributionForm.vue | 357 +++++++++--------- webapp/locales/de.json | 4 +- webapp/locales/en.json | 4 +- webapp/pages/post/create.vue | 106 +++--- 4 files changed, 244 insertions(+), 227 deletions(-) diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 0067dab72..6d42eed61 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -1,190 +1,203 @@ From f1fc2e07f700f47d340231f66a3c5e9628e41af2 Mon Sep 17 00:00:00 2001 From: Markus Date: Fri, 28 Jul 2023 14:36:32 +0200 Subject: [PATCH 12/12] 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 }) + }, }, }