OpenBuilds-CONTROL icon indicating copy to clipboard operation
OpenBuilds-CONTROL copied to clipboard

On disconnect, reset status:{} to some cleaner, saner defaults

Open petervanderwalt opened this issue 3 years ago • 2 comments

As per @sharmstr suggestion:

"I think what threw me off is that its not setting the DROs back to 0 when it disconnects"

petervanderwalt avatar Apr 26 '22 14:04 petervanderwalt

To be clear, I was talking about my new DROs. Yours do set back to 0.00 when status.comms.connectionStatus equals 0 or 6.

sharmstr avatar Apr 26 '22 14:04 sharmstr

Ahh OK! but will keep it open and just look it all over, make sure I didn't miss anything - or that I am doing it right (in status{} not in like a weird ui.js way perhaps)

petervanderwalt avatar Apr 26 '22 15:04 petervanderwalt