mirror of
https://github.com/wekan/wekan.git
synced 2026-01-07 10:08:49 +01:00
Move every Lists.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)
This commit is contained in:
parent
4a8dcde8ee
commit
6a4b03324c
9 changed files with 22 additions and 24 deletions
|
|
@ -256,10 +256,10 @@ export class CsvCreator {
|
|||
createdAt: this._now(),
|
||||
};
|
||||
if (csvData[i][this.fieldIndex.stage]) {
|
||||
const existingList = Lists.find({
|
||||
const existingList = ReactiveCache.getLists({
|
||||
title: csvData[i][this.fieldIndex.stage],
|
||||
boardId,
|
||||
}).fetch();
|
||||
});
|
||||
if (existingList.length > 0) {
|
||||
continue;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue