I've seen the case where someone ran out of disk with a corrupted config
file which gave the following fatal error in the login screen:
Uncaught TypeError: Cannot read properties of null (reading 'map')
with a stacktrace pointing to: ctrl_form.js:22:63
this fixes the assumptions on the config file so as to not trigger the
fatal error but head to the nicer error cases where it would say:
Internal Error: There is nothing here.
which is much nicer for end users than "Cannot read properties of null"
When we have a single storage selected, we automatically redirect the
user to it as we don't need to wait for a user action. The thing is we
used to have this UI being shown with a button that didn't make sense.
Instead we want to show the loader when we reach those condition