Skip to content

Commit a9fecd6

Browse files
Update ui/src/store/modules/user.js
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
1 parent d9b85ef commit a9fecd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/store/modules/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ const user = {
554554
UpdateLdapConfigurationFlag ({ commit }) {
555555
return new Promise((resolve, reject) => {
556556
api('listLdapConfigurations').then(response => {
557-
const ldapEnable = ((response && response.ldapconfigurationresponse && response.ldapconfigurationresponse.count) || 0) > 0
557+
const ldapEnable = (response && response.ldapconfigurationresponse && response.ldapconfigurationresponse.count > 0)
558558
commit('SET_LDAP', ldapEnable)
559559
resolve(ldapEnable)
560560
}).catch(error => {

0 commit comments

Comments
 (0)