mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
insert linked board at top/bottom
This commit is contained in:
parent
c29cff3822
commit
02e9795816
1 changed files with 2 additions and 3 deletions
|
@ -558,14 +558,13 @@ BlazeComponent.extendComponent({
|
|||
Popup.back();
|
||||
return;
|
||||
}
|
||||
const sortIndex = this.getSortIndex();
|
||||
const _id = Cards.insert({
|
||||
title: $('.js-select-boards option:selected').text(), //dummy
|
||||
listId: this.listId,
|
||||
swimlaneId: this.swimlaneId,
|
||||
boardId: this.boardId,
|
||||
sort: Lists.findOne(this.listId)
|
||||
.cards()
|
||||
.count(),
|
||||
sort: sortIndex,
|
||||
type: 'cardType-linkedBoard',
|
||||
linkedId: impBoardId,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue