fix: Changing team settings should update in other tabs

This commit is contained in:
Tom Moor
2021-11-09 17:28:59 -08:00
parent 411a76f9ff
commit e899616081
4 changed files with 18 additions and 4 deletions

View File

@@ -499,6 +499,17 @@ export default class WebsocketsProcessor {
return;
}
case "teams.update": {
return socketio.to(`team-${event.teamId}`).emit("entities", {
event: event.name,
teamIds: [
{
id: event.teamId,
},
],
});
}
default:
}
}