Move every Lists.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)

This commit is contained in:
Martin Filser 2023-02-19 17:43:22 +01:00
parent 4a8dcde8ee
commit 6a4b03324c
9 changed files with 22 additions and 24 deletions

View file

@ -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 {