gitlab-org--gitlab-foss/app/assets/javascripts/boards/components/board_delete.js.es6
Phil Hughes e04db427f1 Label description in tooltip
Clicking label adds that label to the filtered by
2016-08-17 17:12:47 +01:00

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);
})();