mirror of
https://github.com/wekan/wekan.git
synced 2025-12-28 21:28:49 +01:00
Add swimlaneId in activity. Create default swimlaneId in API
This commit is contained in:
parent
f346ce04f5
commit
e74fb2f5b0
4 changed files with 17 additions and 4 deletions
|
|
@ -855,10 +855,15 @@ if (Meteor.isServer) {
|
|||
permission: 'public',
|
||||
color: 'belize',
|
||||
});
|
||||
const swimlaneId = Swimlanes.insert({
|
||||
title: TAPi18n.__('default'),
|
||||
boardId: id,
|
||||
});
|
||||
JsonRoutes.sendResult(res, {
|
||||
code: 200,
|
||||
data: {
|
||||
_id: id,
|
||||
defaultSwimlaneId: swimlaneId,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue