From ceb40029cbcb783158a00047bb868b7f00eb1ff9 Mon Sep 17 00:00:00 2001 From: Hamza Mahjoubi Date: Mon, 16 Sep 2024 20:03:33 +0200 Subject: [PATCH] fixup! UI-fixes Signed-off-by: Hamza Mahjoubi --- .../mailFilter/MailFilterOperator.vue | 15 +++++-- src/components/mailFilter/MailFilterTest.vue | 14 +++---- .../mailFilter/MailFilterUpdateModal.vue | 15 ++++--- src/components/mailFilter/MailFilters.vue | 21 ++++------ src/store/mailFilterStore.js | 39 ++++++++++--------- 5 files changed, 53 insertions(+), 51 deletions(-) diff --git a/src/components/mailFilter/MailFilterOperator.vue b/src/components/mailFilter/MailFilterOperator.vue index ec5287ab96..34af5ee0da 100644 --- a/src/components/mailFilter/MailFilterOperator.vue +++ b/src/components/mailFilter/MailFilterOperator.vue @@ -8,16 +8,18 @@

{{ t('mail', 'Operator') }}

- + type="radio" + @update:checked="updateFilter('allof')"> {{ t('mail', 'allof') }} - + type="radio" + @update:checked="updateFilter('anyof')"> {{ t('mail', 'anyof') }}
@@ -37,6 +39,11 @@ export default { required: true, }, }, + methods: { + updateFilter(operator) { + this.$emit('update:operator', operator) + }, + }, }