geerlingguy / beast-challenge

A control system for MrBeast's 1-100 challenge
GNU General Public License v3.0
26 stars 1 forks source link

Enforce only one active round in 'Is current?' on Overview page #6

Closed geerlingguy closed 1 year ago

geerlingguy commented 1 year ago

Only one round should be allowed to be active at a time.

We should probably write something in the backend to prevent saving a state that is bad (more than one round is current), but we should also guard against confusion by adding a little Javascript on the front end to ensure that the 'Round is Active' checkbox is ONLY checked for one round. If someone selects a different one, then all the others are set to 'off'.

geerlingguy commented 1 year ago

Did this as part of #18