diff options
author | Clark Boylan <clark.boylan@gmail.com> | 2022-11-02 08:45:17 -0700 |
---|---|---|
committer | Clark Boylan <clark.boylan@gmail.com> | 2022-11-02 08:45:17 -0700 |
commit | 4a5089338848b67dae2238f166413a8d9af60d0f (patch) | |
tree | 9d96b3f82ac135c717e67ffcf269e9fedb9a4ac6 | |
parent | f9b0cca24d5d9dc194987ad5106402af85a9d7c7 (diff) | |
download | zuul-8.0.1.tar.gz |
Fix config-errors dedicated page8.0.1
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
-rw-r--r-- | web/src/pages/ConfigErrors.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/pages/ConfigErrors.jsx b/web/src/pages/ConfigErrors.jsx index b47655415..b7a85d074 100644 --- a/web/src/pages/ConfigErrors.jsx +++ b/web/src/pages/ConfigErrors.jsx @@ -69,5 +69,5 @@ class ConfigErrorsPage extends React.Component { export default connect(state => ({ tenant: state.tenant, - configErrors: state.configErrors + configErrors: state.configErrors.errors }))(ConfigErrorsPage) |