mirror of
https://github.com/wekan/wekan.git
synced 2026-02-27 18:34:07 +01:00
most work concluded, code needs clean up, further testing required
This commit is contained in:
parent
089dbf0cf6
commit
c865bfe497
9 changed files with 72 additions and 88 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue