summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/boards/components/board_delete.js.es6
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/boards/components/board_delete.js.es6')
-rw-r--r--app/assets/javascripts/boards/components/board_delete.js.es64
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/boards/components/board_delete.js.es6 b/app/assets/javascripts/boards/components/board_delete.js.es6
index b9afb5724f5..958d85cd326 100644
--- a/app/assets/javascripts/boards/components/board_delete.js.es6
+++ b/app/assets/javascripts/boards/components/board_delete.js.es6
@@ -1,14 +1,14 @@
(() => {
const BoardDelete = Vue.extend({
props: {
- boardId: Number
+ list: Object
},
methods: {
deleteBoard: function () {
$(this.$el).tooltip('destroy');
if (confirm('Are you sure you want to delete this list?')) {
- BoardsStore.removeList(this.boardId);
+ this.list.destroy();
}
}
}