Add registering of client-side relationship properties (#5936)

This commit is contained in:
Tom Moor
2023-10-05 19:50:59 -04:00
committed by GitHub
parent e70d4e60fd
commit a2f037531a
7 changed files with 94 additions and 12 deletions

View File

@@ -254,9 +254,7 @@ class WebsocketProvider extends React.Component<Props> {
});
this.socket.on("comments.delete", (event: WebsocketEntityDeletedEvent) => {
comments.inThread(event.modelId).forEach((comment) => {
comments.remove(comment.id);
});
comments.remove(event.modelId);
});
this.socket.on("groups.create", (event: PartialWithId<Group>) => {