summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
Diffstat (limited to 'client/components')
-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');
}),
}];