sureshanaparti commented on code in PR #13152:
URL: https://github.com/apache/cloudstack/pull/13152#discussion_r3242494412
##########
ui/src/store/modules/user.js:
##########
@@ -420,10 +420,10 @@ const user = {
})
api('listLdapConfigurations').then(response => {
- const ldapEnable = (response.ldapconfigurationresponse.count > 0)
+ const ldapEnable = ((response && response.ldapconfigurationresponse
&& response.ldapconfigurationresponse.count) || 0) > 0
Review Comment:
```suggestion
const ldapEnable = (response && response.ldapconfigurationresponse
&& response.ldapconfigurationresponse.count > 0)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]