There are two fixes here that probably shouldn't coexist. One prevents a 500 error from occuring in the JSON request and gives an error message that could mystify the user, but is more clear than before. The other is client-side, where the localStorage value is compared against the valid values, and the page is reloaded with 'all' clusters if the local value is invalid.
Also, kinda separate, but should :cluster be changed to :jobclusterhere?
Fixes #170
There are two fixes here that probably shouldn't coexist. One prevents a 500 error from occuring in the JSON request and gives an error message that could mystify the user, but is more clear than before. The other is client-side, where the localStorage value is compared against the valid values, and the page is reloaded with 'all' clusters if the local value is invalid.
Also, kinda separate, but should
:cluster
be changed to:jobcluster
here?