Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: note restore

thecodrr2446021c668e
diff --git a/packages/core/collections/trash.js b/packages/core/collections/trash.js
index 9dec49d2f..023a37ca9 100644
--- a/packages/core/collections/trash.js
+++ b/packages/core/collections/trash.js
@@ -103,7 +103,7 @@ export default class Trash {
if (topic.notes) await t.add(...topic.notes);
}
}
- await this._collection.removeItem(id);
+ await this._collection.indexer.deindex(id); // we only deindex
}
}