mirror of
https://github.com/wekan/wekan.git
synced 2026-01-24 18:26:10 +01:00
Replace mquandalle:collection-mutations with collection helpers
This commit is contained in:
parent
aca661583d
commit
94a3575e2c
35 changed files with 718 additions and 1321 deletions
|
|
@ -382,14 +382,14 @@ export class CsvCreator {
|
|||
}
|
||||
}
|
||||
|
||||
create(board, currentBoardId) {
|
||||
async create(board, currentBoardId) {
|
||||
const isSandstorm =
|
||||
Meteor.settings &&
|
||||
Meteor.settings.public &&
|
||||
Meteor.settings.public.sandstorm;
|
||||
if (isSandstorm && currentBoardId) {
|
||||
const currentBoard = ReactiveCache.getBoard(currentBoardId);
|
||||
currentBoard.archive();
|
||||
await currentBoard.archive();
|
||||
}
|
||||
this.mapHeadertoCardFieldIndex(board[0]);
|
||||
const boardId = this.createBoard(board);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue