fix: Filter by cards to find position
This commit fixes an error when WIP is displyed on the kanban column.stable
parent
d96e1f7d80
commit
d68d71801c
|
@ -86,7 +86,7 @@ KanbanSortableDirective = ($repo, $rs, $rootscope) ->
|
||||||
dragMultipleItems = [item]
|
dragMultipleItems = [item]
|
||||||
|
|
||||||
firstElement = dragMultipleItems[0]
|
firstElement = dragMultipleItems[0]
|
||||||
index = $(firstElement).index()
|
index = $(firstElement).index('.card')
|
||||||
newStatus = newParentScope.s.id
|
newStatus = newParentScope.s.id
|
||||||
|
|
||||||
usList = _.map dragMultipleItems, (item) -> $(item).scope().us
|
usList = _.map dragMultipleItems, (item) -> $(item).scope().us
|
||||||
|
|
Loading…
Reference in New Issue