mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Checklist copy/move dialog was sometimes empty
- a Exception was thrown the return value was an object because #each only accepts arrays and cursors See also: https://github.com/wekan/wekan/issues/4655#issuecomment-1250106151
This commit is contained in:
parent
39975395e1
commit
610bd66122
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ export class DialogWithBoardSwimlaneListCard extends DialogWithBoardSwimlaneList
|
|||
/** returns all available cards of the current list */
|
||||
cards() {
|
||||
const list = Lists.findOne(this.selectedListId.get());
|
||||
let ret = {}
|
||||
let ret = [];
|
||||
if (list) {
|
||||
ret = list.cards(this.selectedSwimlaneId.get());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue