fa : 'download',
listeners : {
click : function() {
- this.removeEl(data.id)
+ this.downloadCard(data.id)
}
}
},
size : 'sm',
weight: 'danger',
cls : 'col-1',
- fa : 'times'
+ fa : 'times',
+ listeners : {
+ click : function() {
+ this.removeCard(data.id)
+ }
+ }
}
]
}