ChannelFinder / pvinfo

Web interface to channel finder with integrations to other HLC apps
MIT License
11 stars 3 forks source link

Keep web socket static values on details page on uncheck of live monitor #41

Closed tynanford closed 1 year ago

tynanford commented 1 year ago

don't clear the "static" information from PV web socket when the live monitoring is unchecked.

If REACT_APP_DEFAULT_LIVE_MONITORING is false, then the static information will appear on page load and checking/unchecking the "Enable Live PV Monitoring" box will not clear the static values. Enabling the live monitoring will update any of these quote un quote static values if they have changed

If REACT_APP_DEFAULT_LIVE_MONITORING is true, then the static information will already be shown since the live monitor checkbox is on by default. and the values will remain if unchecked manually