From 539c1ab87a098a7ddfd23cdbd663441bd609b73d Mon Sep 17 00:00:00 2001 From: zebby76 Date: Tue, 1 May 2018 07:55:41 +0200 Subject: Define sort property on swimlanes and lists --- models/users.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'models/users.js') diff --git a/models/users.js b/models/users.js index 41179875..20331a98 100644 --- a/models/users.js +++ b/models/users.js @@ -566,10 +566,11 @@ if (Meteor.isServer) { Swimlanes.insert({ title: TAPi18n.__('welcome-swimlane'), boardId, + sort: 1, }, fakeUser); - ['welcome-list1', 'welcome-list2'].forEach((title) => { - Lists.insert({title: TAPi18n.__(title), boardId}, fakeUser); + ['welcome-list1', 'welcome-list2'].forEach((title, titleIndex) => { + Lists.insert({title: TAPi18n.__(title), boardId, sort: titleIndex}, fakeUser); }); }); }); @@ -754,4 +755,3 @@ if (Meteor.isServer) { } }); } - -- cgit v1.2.3-1-g7c22