Alert Management - End time is incorrectly shown as the current time
When loading the Alert List page, the "End Time" incorrectly shows as the current time.
To reproduce
- Add some alerts to the Alert db. Ensure that
ended_at
is not included in the alert (aka the db value isnil
). - View the alert management list.
Expected Behaviour
- The "End time" column should not show a date.
Actual Behaviour
- The "End time" column shows as "just now". Hovering over the tooltip shows the exact current date + time.
Screenshots
More info:
This appears to be a frontend bug - endedAt
is correctly set to null
in the graphql response.
It's currently impossible to set ended_at
via the Alerts endpoint: #217049 (closed). However it can still be set via the db / model.
Edited by Tristan Read