We have a scenario where we have a swap button, which swaps the values of the selected columns and swimlanes. Both columns and swimlanes are changed at the same time.
When we try to perform that operation, we get the attached error.
Updating the "getColumnTasks" to this:
const set = taskStore.storage.findItem(me.columnField, columnRecord.id);
const foundItems = !set || set instanceof Set ? set : new Set([set]);
const tasks = foundItems ? [...foundItems] : [];
fixed the issue.
Can you please look into the issue?
Attachments
set is not iterable error.jpg (69.92 KiB) Viewed 200 times