From 9baabd073717635b29ff8091e32ea97a1241a6e8 Mon Sep 17 00:00:00 2001 From: ogerly Date: Mon, 17 Oct 2022 12:05:35 +0200 Subject: [PATCH] change sameLocation and delete Location Button position --- webapp/components/Group/GroupForm.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue index 26b4f5a19..3aeca423c 100644 --- a/webapp/components/Group/GroupForm.vue +++ b/webapp/components/Group/GroupForm.vue @@ -136,7 +136,7 @@ icon="close" ghost size="small" - style="position: relative; display: inline-block; right: -93%; top: -45px" + style="position: relative; display: inline-block; right: -96%; top: -33px; width: 26px;" @click="formData.locationName = ''" > @@ -262,8 +262,11 @@ export default { return this.$filters.removeHtml(this.formData.description).length }, sameLocation() { - if (this.group.locationName === null) return true - if (this.group.locationName !== this.formData.locationName) return false + console.log('this.group.locationName', this.group.locationName) + console.log('this.formData.locationName', this.formData.locationName) + console.log('this.group.locationName === null && this.formData.locationName === ', this.group.locationName === null && this.formData.locationName === '') + if (this.group.locationName === null || this.formData.locationName !== '') return true + if (this.group.locationName !== this.formData.locationName.value) return false return true }, sameCategories() {