fix: notes are not refreshed after 'remove from topic'

This commit is contained in:
thecodrr
2021-03-03 14:50:19 +05:00
parent 0f5415c66a
commit 9191cd59e2

View File

@@ -234,7 +234,7 @@ const topicNoteMenuItems = [
.notebook(context.value.id)
.topics.topic(context.value.topic)
.delete(note.id);
store.setContext(context);
store.refresh();
await showToast("success", "Note removed from topic!");
},
},