Main flow implemented

This commit is contained in:
Angelo Gallarello 2018-08-16 00:32:31 +02:00
parent 9b0eb0a9f1
commit 6828ccd7f1
9 changed files with 100 additions and 15 deletions

View file

@ -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) {