mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 21:47:10 -04:00
Fix sandstorm default swimlane creation
This commit is contained in:
parent
c62a2ee11f
commit
f470323ee7
1 changed files with 4 additions and 0 deletions
|
@ -252,6 +252,10 @@ if (isSandstorm && Meteor.isServer) {
|
|||
Users.after.insert((userId, doc) => {
|
||||
if (!Boards.findOne(sandstormBoard._id)) {
|
||||
Boards.insert(sandstormBoard, { validate: false });
|
||||
Swimlanes.insert({
|
||||
title: 'Default',
|
||||
boardId: sandstormBoard._id,
|
||||
});
|
||||
Activities.update(
|
||||
{ activityTypeId: sandstormBoard._id },
|
||||
{ $set: { userId: doc._id }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue