speedcontrol / nodecg-speedcontrol

NodeCG bundle to help facilitate the running of speedrunning marathons, including overlays.
MIT License
44 stars 34 forks source link

Make some run data default to null/undefined #23

Closed zoton2 closed 5 years ago

zoton2 commented 6 years ago

Currently in some places, like on schedule import, some data is set as a black string by default when it should be either null or undefined, so checks for them being set don't fail.

zoton2 commented 6 years ago

Partially fixed, still need to check it's also being set correctly when adding/editing runs manually.

zoton2 commented 5 years ago

Decided to go back to using blank strings for values that should be strings but are empty/not set. In JavaScript, an empty string is seen as a falsey value anyway so not too bad.