Set production
property to null when no updates are to be sent to the client
This commit is contained in:
parent
083a2a798e
commit
ba2666f801
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user