fix(resources/notes): resolve fetch on deletion

This commit is contained in:
Christopher committed 2021-03-08 20:13:34 +01:00
1 parent ebe75dba1f
commit 7e9ad952cf
3 files changed
+7

No files matched your search

+2
View File
@@ -67,6 +67,8 @@ onNet(events.NOTE_DELETE_NOTE, async (noteId: NoteId) => {
const _identifier = getIdentifier(pSource);
await deleteNote(noteId.id, _identifier);
emitNet(events.NOTE_DELETE_NOTE_SUCCESS, pSource);
emitNet(events.NOTE_ACTION_RESULT, pSource, {
message: 'NOTES_DELETE_SUCCESS',
type: 'success',