A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: fix type in SearchViewModel
Abdullah Atta605e045ff7ad
diff --git a/apps/web/__e2e__/models/search-view-model.ts b/apps/web/__e2e__/models/search-view-model.tsindex 120cc5617..53f4e896a 100644--- a/apps/web/__e2e__/models/search-view-model.ts+++ b/apps/web/__e2e__/models/search-view-model.ts@@ -30,7 +30,7 @@ export class SearchViewModel extends BaseViewModel {async findItem(item: Item) {const titleToCompare = item.title;for await (const _item of this.iterateItems()) {- const itemModel = new ItemModel(_item);+ const itemModel = new ItemModel(_item, "tag");const title = await itemModel.getTitle();if (title === titleToCompare) return itemModel;}