blob: a5f9d65e4d52ad523fd5c2457503834122c40ccd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import $ from 'jquery';
import Vue from 'vue';
export default Vue.extend({
props: {
list: {
type: Object,
default: () => ({}),
},
},
methods: {
deleteBoard() {
$(this.$el).tooltip('hide');
// eslint-disable-next-line no-alert
if (window.confirm('Are you sure you want to delete this list?')) {
this.list.destroy();
}
},
},
});
|