web: await notes context refreshing

This commit is contained in:
Abdullah Atta
2024-02-16 17:33:10 +05:00
parent a4e0fecfe9
commit eef8b98b62

View File

@@ -44,7 +44,7 @@ class MonographStore extends BaseStore<MonographStore> {
unpublish = async (noteId: string) => {
await db.monographs.unpublish(noteId);
await this.get().refresh();
noteStore.refreshContext();
await noteStore.refreshContext();
};
}