From f470323ee746c4e79f07d166d511867408194eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Manelli?= Date: Fri, 16 Mar 2018 23:18:26 -0300 Subject: Fix sandstorm default swimlane creation --- sandstorm.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sandstorm.js') diff --git a/sandstorm.js b/sandstorm.js index 3dcbf03c..3ea85fef 100644 --- a/sandstorm.js +++ b/sandstorm.js @@ -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 }} -- cgit v1.2.3-1-g7c22