From 828f6ea321020eda77fea399df52889e2081dfac Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 10 May 2019 20:50:53 +0300 Subject: - Add Feature: Move board to Archive button at each board at All Boards page. Thanks to xet7 ! Related #2389 --- client/components/boards/boardsList.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/components/boards/boardsList.js') diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js index 8c45fbe2..e97070ee 100644 --- a/client/components/boards/boardsList.js +++ b/client/components/boards/boardsList.js @@ -70,6 +70,11 @@ BlazeComponent.extendComponent({ ); evt.preventDefault(); }, + 'click .js-archive-board'(evt) { + const boardId = this.currentData()._id; + Meteor.call('archiveBoard', boardId); + evt.preventDefault(); + }, 'click .js-accept-invite'() { const boardId = this.currentData()._id; Meteor.user().removeInvite(boardId); -- cgit v1.2.3-1-g7c22