mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 08:38:49 +01:00
Define sort property on swimlanes and lists
This commit is contained in:
parent
359d0b376f
commit
539c1ab87a
3 changed files with 9 additions and 5 deletions
|
|
@ -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) {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue