mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-25 16:09:42 +01:00
core: minor refactors
This commit is contained in:
@@ -238,7 +238,6 @@ test("issue: colors are not properly created if multiple notes are synced togeth
|
||||
await delay(2000);
|
||||
|
||||
const purpleColor = deviceB.colors.tag("purple");
|
||||
console.log(noteIds, purpleColor.noteIds);
|
||||
expect(noteIds.every((id) => purpleColor.noteIds.indexOf(id) > -1)).toBe(
|
||||
true
|
||||
);
|
||||
|
||||
@@ -48,6 +48,7 @@ export default class CachedCollection extends IndexedCollection {
|
||||
// }
|
||||
|
||||
this.map = new MapStub.Map(data, this.type);
|
||||
this.invalidateCache();
|
||||
}
|
||||
|
||||
async clear() {
|
||||
|
||||
Reference in New Issue
Block a user