upd: update notes live on feed
This commit is contained in:
parent
d869d7aa05
commit
5d40ca6568
3 changed files with 24 additions and 2 deletions
|
|
@ -525,7 +525,9 @@ export class NoteEditService implements OnApplicationShutdown {
|
|||
// Pack the note
|
||||
const noteObj = await this.noteEntityService.pack(note);
|
||||
|
||||
this.globalEventService.publishNotesStream(noteObj);
|
||||
this.globalEventService.publishNoteStream(note.id, 'updated', {
|
||||
updatedAt: note.updatedAt!,
|
||||
});
|
||||
|
||||
this.roleService.addNoteToRoleTimeline(noteObj);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue