diff --git a/src/components/AccountSettings.vue b/src/components/AccountSettings.vue index 8bed6e0838..d4a61327f6 100644 --- a/src/components/AccountSettings.vue +++ b/src/components/AccountSettings.vue @@ -111,7 +111,7 @@ import CertificateSettings from './CertificateSettings.vue' import SearchSettings from './SearchSettings.vue' import TrashRetentionSettings from './TrashRetentionSettings.vue' import logger from '../logger.js' -import MailFilters from './MailFilters.vue' +import MailFilters from './mailFilter/MailFilters.vue' export default { name: 'AccountSettings', diff --git a/src/components/MailFilterTest.vue b/src/components/MailFilterTest.vue deleted file mode 100644 index 9ab67b457a..0000000000 --- a/src/components/MailFilterTest.vue +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - - - - - - - - - {{ t('mail', 'Delete test') }} - - - - - - - - {{ t('mail', 'or') }} - - - - - - - - - - - - - {{ t('mail', 'Add value') }} - - - - - - - diff --git a/src/components/MailFilterAction.vue b/src/components/mailFilter/MailFilterAction.vue similarity index 80% rename from src/components/MailFilterAction.vue rename to src/components/mailFilter/MailFilterAction.vue index b4ebf1f2f0..58f5bda10e 100644 --- a/src/components/MailFilterAction.vue +++ b/src/components/mailFilter/MailFilterAction.vue @@ -23,6 +23,7 @@ + {{ t('mail', 'Delete action') }} @@ -77,12 +78,6 @@ export default { }, }, methods: { - // changeActionType(value) { - // this.changeAction({ - // id: this.action.id, - // type: value, - // }) - // }, updateAction(properties) { this.$emit('update-action', { ...this.action, ...properties }) }, @@ -98,27 +93,4 @@ export default { gap: 5px; align-items: baseline; } -// -//.mail-filter-column label { -// display: block; -//} -// -//.form-group { -// margin: calc(var(--default-grid-baseline) * 4) 0; -// display: flex; -// flex-direction: column; -// align-items: flex-start; -//} -// -//.external-label { -// display: flex; -// width: 100%; -// margin-top: 1rem; -//} -// -//.external-label label { -// padding-top: 7px; -// padding-right: 14px; -// white-space: nowrap; -//} diff --git a/src/components/MailFilterActionAddflag.vue b/src/components/mailFilter/MailFilterActionAddflag.vue similarity index 100% rename from src/components/MailFilterActionAddflag.vue rename to src/components/mailFilter/MailFilterActionAddflag.vue diff --git a/src/components/MailFilterActionFileinto.vue b/src/components/mailFilter/MailFilterActionFileinto.vue similarity index 94% rename from src/components/MailFilterActionFileinto.vue rename to src/components/mailFilter/MailFilterActionFileinto.vue index b358edfb02..36609cdc18 100644 --- a/src/components/MailFilterActionFileinto.vue +++ b/src/components/mailFilter/MailFilterActionFileinto.vue @@ -11,7 +11,7 @@ diff --git a/src/components/MailFilterUpdateModal.vue b/src/components/mailFilter/MailFilterUpdateModal.vue similarity index 82% rename from src/components/MailFilterUpdateModal.vue rename to src/components/mailFilter/MailFilterUpdateModal.vue index 4c3f0a1565..63d64b6b64 100644 --- a/src/components/MailFilterUpdateModal.vue +++ b/src/components/mailFilter/MailFilterUpdateModal.vue @@ -3,11 +3,11 @@ - SPDX-License-Identifier: AGPL-3.0-or-later --> - - + - + @@ -49,37 +49,33 @@ - - - + - - - {{ t('mail', 'Enable filter') }} - - + + {{ t('mail', 'Enable filter') }} + + native-type="submit" + @click.prevent.stop="updateFilter"> {{ t('mail', 'Save filter') }} - +