|
@@ -574,6 +574,7 @@ BlazeComponent.extendComponent({
|
|
|
Popup.back();
|
|
|
return;
|
|
|
}
|
|
|
+ const nextCardNumber = this.board.getNextCardNumber();
|
|
|
const sortIndex = this.getSortIndex();
|
|
|
const _id = Cards.insert({
|
|
|
title: $('.js-select-boards option:selected').text(), //dummy
|
|
@@ -583,6 +584,7 @@ BlazeComponent.extendComponent({
|
|
|
sort: sortIndex,
|
|
|
type: 'cardType-linkedBoard',
|
|
|
linkedId: impBoardId,
|
|
|
+ cardNumber: nextCardNumber,
|
|
|
});
|
|
|
Filter.addException(_id);
|
|
|
Popup.back();
|