EricSSartorius / Judging-System

U-Judge: Universal Judging System using Angular Meteor (OLD)
http://www.universaljudge.com/
1 stars 1 forks source link

Admin Console - Resets to first event on view change #28

Closed EricSSartorius closed 8 years ago

EricSSartorius commented 8 years ago

If currently in game and changing views away from the admin console, on return to admin console the first event is shown regardless if there is a different event currently running.

To fix- Make a check in the admin-console controller initialization where if there is an event with inGame set to 'true' then it will go to that event, otherwise it can default at the most recently created event.