most work concluded, code needs clean up, further testing required

This commit is contained in:
amadilsons 2017-10-04 17:48:37 +02:00
parent 089dbf0cf6
commit c865bfe497
9 changed files with 72 additions and 88 deletions

View file

@ -32,7 +32,9 @@ BlazeComponent.extendComponent({
return [{
'click .js-restore-card'() {
const card = this.currentData();
card.restore();
if(card.canBeRestored()){
card.restore();
}
},
'click .js-delete-card': Popup.afterConfirm('cardDelete', function() {
const cardId = this._id;