pez-globo / pufferfish-software

All software for the Pufferfish ventilator.
Apache License 2.0
0 stars 1 forks source link

EventsLog page is constantly redrawn when alarms are muted #420

Closed rohanpurohit closed 2 years ago

rohanpurohit commented 2 years ago

When I mute an alarm, and the mute countdown is active, on opening the Events log modal, and enabling Preact highlight updates option, I see that the events log page is redrawn every second similar to the alert button label that shows the countdown. ideally, it should redraw only when a new event is added. we should come up with some way to fix this, This is the LogsPage component that is added in EventAlerts ModalPopup EventAlerts L406