mirror of
https://github.com/wekan/wekan.git
synced 2026-02-11 10:44:20 +01:00
- Add Feature: Move board to Archive button at each board at All Boards page.
Thanks to xet7 ! Related #2389
This commit is contained in:
parent
7ff4067e88
commit
828f6ea321
4 changed files with 38 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue