Fix config-errors dedicated page

There was a type update to our configErrors state from a list of errors
to a dict containing a list of errors and a ready state flag. This broke
the map() call on configErrors in the dedicated config errors page
because you can't map an object only an Array. We fix this by mapping
the objects errors attribute into the page as the config errors allowing
us to keep mapping over it.

Change-Id: Ib84ca9241fb456f9493a07d1c7e1220f5fa925c8
This commit is contained in:
Clark Boylan 2022-11-02 08:45:17 -07:00
parent f9b0cca24d
commit 4a50893388
1 changed files with 1 additions and 1 deletions

View File

@ -69,5 +69,5 @@ class ConfigErrorsPage extends React.Component {
export default connect(state => ({
tenant: state.tenant,
configErrors: state.configErrors
configErrors: state.configErrors.errors
}))(ConfigErrorsPage)