diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-09-13 15:56:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-13 15:56:38 +0300 |
commit | 7a3a474d5419d4c196d3783d97d8eccd7b837387 (patch) | |
tree | 9fbaae6cd161da9c69c9fc366babc4cc24b4629d | |
parent | 244860c78dd24d14afe529ed78f62553a3caee47 (diff) | |
parent | 21de4150743cc96968b9a1c0723d3f40c463ce32 (diff) |
Merge pull request #7274 from nextcloud/fix/noid/autoresponder-not-loading-on-sieve-enable
Fetch sieve script after enabling sieve
-rw-r--r-- | src/components/SieveAccountForm.vue | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/SieveAccountForm.vue b/src/components/SieveAccountForm.vue index 28f37e51d..299c71f1f 100644 --- a/src/components/SieveAccountForm.vue +++ b/src/components/SieveAccountForm.vue @@ -182,6 +182,11 @@ export default { account: this.account, data: this.sieveConfig, }) + if (this.sieveConfig.sieveEnabled) { + await this.$store.dispatch('fetchActiveSieveScript', { + accountId: this.account.id, + }) + } } catch (error) { this.errorMessage = error.message } |