wuvt / trackman

WUVT's track logging web-app
GNU Affero General Public License v3.0
4 stars 3 forks source link

Only update extend autologout status when on air #78

Closed mutantmonkey closed 5 years ago

mutantmonkey commented 5 years ago

The Trackman client makes an API call to get the current status of the "extend autologout" checkbox during initialization. If a DJ is not currently on air (and thus the djsetId is null), this would result in a

  1. Instead, we should only make this API call if djsetId is not null when initializing Trackman, meaning that the DJ is already on air and we have a DJSet available to use.