mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 11:20:13 +01:00
Merge pull request #3861 from mfilser/manual_sort_number_0_accepted
Manuel sort number 0 accepted
This commit is contained in:
commit
41848dd99e
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ BlazeComponent.extendComponent({
|
|||
const sort = parseFloat(this.currentComponent()
|
||||
.getValue()
|
||||
.trim());
|
||||
if (sort) {
|
||||
if (!Number.isNaN(sort)) {
|
||||
let card = this.data();
|
||||
card.move(card.boardId, card.swimlaneId, card.listId, sort);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue