Allow questions to run if there's an invalid `loading-message` setting value (#50419)
* prevent the UI from breaking if there is an invalid enum value set by MB_LOADING_MESSAGE
* add test case
* add enum validation on backend
* oops - fix set-value-of-type! call
---------
Co-authored-by:
Noah Moss <noahbmoss@gmail.com>
Showing
- enterprise/frontend/src/metabase-enterprise/settings/selectors.ts 4 additions, 1 deletion...se/frontend/src/metabase-enterprise/settings/selectors.ts
- enterprise/frontend/src/metabase-enterprise/settings/selectors.unit.spec.ts 12 additions, 0 deletions...d/src/metabase-enterprise/settings/selectors.unit.spec.ts
- src/metabase/public_settings.clj 15 additions, 1 deletionsrc/metabase/public_settings.clj
- test/metabase/public_settings_test.clj 15 additions, 0 deletionstest/metabase/public_settings_test.clj
Loading
Please register or sign in to comment