-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mail filters #10135
mail filters #10135
Conversation
src/components/MailFilters.vue
Outdated
this.loading = false | ||
} | ||
|
||
await this.$store.dispatch('fetchActiveSieveScript', { accountId: this.account.id }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we update the store manually instead of querying backend on each update ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, do I need to return the new script as result for the update operation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take care of it in the other PR
37cad8d
to
5bbace0
Compare
112a1de
to
259d411
Compare
9085eca
to
0981ed7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
- SPDX-License-Identifier: AGPL-3.0-or-later | ||
--> | ||
<template> | ||
<NcDialog :name="t('mail','Delete mail filter {filterName}?', {filterName: filter.name})" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<NcDialog :name="t('mail','Delete mail filter {filterName}?', {filterName: filter.name})" | |
<NcDialog :name="t('mail', 'Delete mail filter {filterName}?', {filterName: filter.name})" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ship it! Tested and works.
Eslint is not yet happy though.
Signed-off-by: Daniel Kesselberg <[email protected]>
Signed-off-by: Daniel Kesselberg <[email protected]>
Co-authored-by: Hamza Mahjoubi <[email protected]> Signed-off-by: Daniel Kesselberg <[email protected]>
Todo Hamza:
Todo Daniel:
Filter definitions(follow up)