summaryrefslogtreecommitdiffstats
path: root/models/users.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-05-01 13:06:15 +0300
committerLauri Ojansivu <x@xet7.org>2018-05-01 13:06:15 +0300
commitbf7520c4307da67c453c98289d7f13ab8c5dc082 (patch)
treebfedec0411d71529fee37b38ef518608c8524edf /models/users.js
parent359d0b376f203a4d309a3a222d35a16b4ed161e3 (diff)
parent166324df011af835c4a96e6dab3b3fab24e42a23 (diff)
downloadwekan-bf7520c4307da67c453c98289d7f13ab8c5dc082.tar.gz
wekan-bf7520c4307da67c453c98289d7f13ab8c5dc082.tar.bz2
wekan-bf7520c4307da67c453c98289d7f13ab8c5dc082.zip
Merge branch 'zebby76-devel' into devel
Diffstat (limited to 'models/users.js')
-rw-r--r--models/users.js6
1 files changed, 3 insertions, 3 deletions
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) {
}
});
}
-