Completed rules

This commit is contained in:
Angelo Gallarello 2018-08-19 18:53:50 +02:00
parent 3b62b5ec5d
commit 1f5f429fc4
21 changed files with 551 additions and 157 deletions

View file

@ -44,6 +44,12 @@ ChecklistItems.mutations({
setTitle(title) {
return { $set: { title } };
},
check(){
return { $set: { isFinished: true } };
},
uncheck(){
return { $set: { isFinished: false } };
},
toggleItem() {
return { $set: { isFinished: !this.isFinished } };
},