If the query is sent asking for the victor before the alert is fully concluded, it will return in an unknown victor state. The website then displays "UNKNOWN VICTOR" and then no longer proceeds to request the victory status in any subsequent requests.
The website should continue to poll the API for the victor until it recieves it.
This issue is resolved upon reloading the page. It's clearly a time sensitive scenario that needs better handling.
This will also have the added benefit that if there's any data that was still being processed just before the alert end, we will also get this data as well.
If the query is sent asking for the victor before the alert is fully concluded, it will return in an unknown victor state. The website then displays "UNKNOWN VICTOR" and then no longer proceeds to request the victory status in any subsequent requests.
The website should continue to poll the API for the victor until it recieves it.
This issue is resolved upon reloading the page. It's clearly a time sensitive scenario that needs better handling.
This will also have the added benefit that if there's any data that was still being processed just before the alert end, we will also get this data as well.