From 57a6e74d10dd408928e330fb17c968ff79b5d705 Mon Sep 17 00:00:00 2001 From: ogerly Date: Mon, 19 Sep 2022 18:50:53 +0200 Subject: [PATCH] fix lint and locales --- webapp/components/Group/GroupForm.vue | 36 ++++++++++-------- webapp/components/Group/GroupList.vue | 50 +++++++++++++++---------- webapp/components/Group/GroupMember.vue | 6 ++- webapp/components/Group/GroupMenu.vue | 12 +++--- webapp/locales/de.json | 34 ++++++++--------- webapp/locales/en.json | 33 ++++++++-------- webapp/pages/group/create.vue | 14 +++++-- webapp/pages/group/edit/_id.vue | 8 ++-- webapp/pages/group/edit/_id/index.vue | 14 ++++++- webapp/pages/my-groups.vue | 2 +- 10 files changed, 122 insertions(+), 87 deletions(-) diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue index de0b1f38f..7a3882723 100644 --- a/webapp/components/Group/GroupForm.vue +++ b/webapp/components/Group/GroupForm.vue @@ -12,14 +12,14 @@ - + + id="city" + v-model="formData.locationName" + icon="map-marker" + :options="cities" + :label="$t('settings.data.labelCity')" + :placeholder="$t('settings.data.labelCity')" + :loading="loadingGeo" + @input.native="handleCityInput" + /> - {{$t('group.back')}} + {{ $t('group.back') }} @@ -112,7 +116,8 @@ export default { }, }, data() { - const { name, slug, groupType, about, description, actionRadius, locationName, categories } = this.group + const { name, slug, groupType, about, description, actionRadius, locationName, categories } = + this.group return { categoriesActive: this.$env.CATEGORIES_ACTIVE, disabled: false, @@ -155,7 +160,8 @@ export default { methods: { submit() { - const { name, about, description, groupType, actionRadius, locationName, categoryIds } = this.formData + const { name, about, description, groupType, actionRadius, locationName, categoryIds } = + this.formData const variables = { name, about, diff --git a/webapp/components/Group/GroupList.vue b/webapp/components/Group/GroupList.vue index 5f3ab8d4d..a25a1bbf9 100644 --- a/webapp/components/Group/GroupList.vue +++ b/webapp/components/Group/GroupList.vue @@ -1,17 +1,21 @@