summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-08-28 23:23:24 +0300
committerLauri Ojansivu <x@xet7.org>2018-08-28 23:23:24 +0300
commit534b20fedac9162d2d316bd74eff743d636f2b3d (patch)
treea20e83c26d45936e081c12783eb6bdeed2ae219f /client
parentc0df1dd4aa8b03d28d9f63cd62c9b910b6da3b2c (diff)
downloadwekan-534b20fedac9162d2d316bd74eff743d636f2b3d.tar.gz
wekan-534b20fedac9162d2d316bd74eff743d636f2b3d.tar.bz2
wekan-534b20fedac9162d2d316bd74eff743d636f2b3d.zip
- Fix Delete Board and keep confirmation popup.
Thanks to xet7 !
Diffstat (limited to 'client')
-rw-r--r--client/components/boards/boardArchive.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/components/boards/boardArchive.js b/client/components/boards/boardArchive.js
index dbebdd70..8f4d5434 100644
--- a/client/components/boards/boardArchive.js
+++ b/client/components/boards/boardArchive.js
@@ -37,8 +37,7 @@ BlazeComponent.extendComponent({
const currentBoard = Boards.findOne(Session.get('currentBoard'));
Boards.remove(currentBoard._id);
}
- const board = this.currentData();
- Boards.remove(board._id);
+ Boards.remove(this._id);
FlowRouter.go('home');
}),
}];