Sekai-World / sekai-viewer

Web Database Viewer of Project Sekai
https://sekai.best
GNU General Public License v3.0
333 stars 39 forks source link

[BUG] Event Tracker will freeze if there is no data #436

Closed EternalFlower closed 1 year ago

EternalFlower commented 1 year ago

Describe the bug Since API update for JP happened, there is no event data, causing the event tracker to stay in fetching state. It will prevent the user from accessing older event data.

To Reproduce

  1. Select Server to Japan
  2. Go to Event Tracker

Expected behavior The event tracker will stop attempting to fetch data and re-enable the drop down. If possible, print out a message saying there is no data available.

Browser (please complete the following information):

Possible cause and/or solution Lack of null checks.