vishesh92 commented on code in PR #10533:
URL: https://github.com/apache/cloudstack/pull/10533#discussion_r2401429140
##########
ui/src/store/modules/user.js:
##########
@@ -317,7 +317,6 @@ const user = {
const result = response.listusersresponse.user[0]
commit('SET_INFO', result)
commit('SET_NAME', result.firstname + ' ' + result.lastname)
- store.dispatch('SetCsLatestVersion', result.rolename)
Review Comment:
This fixes the issue where it is making 2 API calls.
--
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]