diff options
author | Angelo Gallarello <angelo.gallarell@gmail.com> | 2018-08-16 00:32:31 +0200 |
---|---|---|
committer | Angelo Gallarello <angelo.gallarell@gmail.com> | 2018-08-16 00:32:31 +0200 |
commit | 6828ccd7f17d14f178e6742d78bdd14428ec6e07 (patch) | |
tree | bca97277f80b29bf224e92b73e5fa6ec630f53c9 /client/components/rules/rulesMain.js | |
parent | 9b0eb0a9f1973e05df7199cf2bff7518f2fa98dc (diff) | |
download | wekan-6828ccd7f17d14f178e6742d78bdd14428ec6e07.tar.gz wekan-6828ccd7f17d14f178e6742d78bdd14428ec6e07.tar.bz2 wekan-6828ccd7f17d14f178e6742d78bdd14428ec6e07.zip |
Main flow implemented
Diffstat (limited to 'client/components/rules/rulesMain.js')
-rw-r--r-- | client/components/rules/rulesMain.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/components/rules/rulesMain.js b/client/components/rules/rulesMain.js index c7e10512..5a4b612a 100644 --- a/client/components/rules/rulesMain.js +++ b/client/components/rules/rulesMain.js @@ -29,6 +29,8 @@ BlazeComponent.extendComponent({ return [{'click .js-delete-rule'(event) { const rule = this.currentData(); Rules.remove(rule._id); + Actions.remove(rule.actionId); + Triggers.remove(rule.triggerId); }, 'click .js-goto-trigger'(event) { |