e04db427f1
Clicking label adds that label to the filtered by
18 lines
355 B
JavaScript
18 lines
355 B
JavaScript
(() => {
|
|
const BoardDelete = Vue.extend({
|
|
props: {
|
|
list: Object
|
|
},
|
|
methods: {
|
|
deleteBoard: function () {
|
|
$(this.$el).tooltip('destroy');
|
|
|
|
if (confirm('Are you sure you want to delete this list?')) {
|
|
this.list.destroy();
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
Vue.component('board-delete', BoardDelete);
|
|
})();
|