From d4b5823cf147d13b0a926f7c06d947081ea32769 Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 4 Oct 2022 10:11:07 +0200 Subject: [PATCH] fix lint --- webapp/components/Group/GroupForm.vue | 247 +++++++++++++------------- 1 file changed, 126 insertions(+), 121 deletions(-) diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue index defd4a72c..130ec6e8a 100644 --- a/webapp/components/Group/GroupForm.vue +++ b/webapp/components/Group/GroupForm.vue @@ -17,140 +17,146 @@ autofocus :placeholder="`${$t('group.name')} …`" /> - - {{ `${formData.name.length} / ${formSchema.name.min}–${formSchema.name.max}` }} - - - + + {{ `${formData.name.length} / ${formSchema.name.min}–${formSchema.name.max}` }} + + + - + - - {{ $t('group.type') }} - - - - - - - - + + {{ $t('group.type') }} + + + + + + + - + - + - - - {{ $t('group.description') }} - - - - {{ `${descriptionLength} / ${formSchema.description.min}` }} - - + + + {{ $t('group.description') }} + + + + {{ `${descriptionLength} / ${formSchema.description.min}` }} + + - - {{ $t('group.actionRadius') }} - - - - + - - - - + {{ $t(`group.actionRadii.${actionRadius}`) }} + + + + + - - + + + - - - - + + + - - - {{ formData.categoryIds.length }} / 3 - - - + size="base" + :color="errors && errors.categoryIds && 'danger'" + > + {{ formData.categoryIds.length }} / 3 + + + - + {{ $t('actions.cancel') }} @@ -325,8 +331,8 @@ export default { .select-label { margin-bottom: 0; padding-bottom: 4px; - color: #70677e; - font-size: 1rem; + color: #70677e; + font-size: 1rem; } .textarea-label { @@ -355,6 +361,5 @@ export default { align-self: flex-end; margin-top: $space-base; } - }