Set production property to null when no updates are to be sent to the client

This commit is contained in:
Dev 2023-11-17 11:13:14 +00:00
parent 083a2a798e
commit ba2666f801

View File

@ -184,7 +184,8 @@ export class EventOutputHolder
}
}
return productions;
// Return null of there's no crafts to send to client to match live behaviour
return (Object.keys(productions).length > 0) ? productions : null
}
/**