weizhouapache commented on code in PR #8287:
URL: https://github.com/apache/cloudstack/pull/8287#discussion_r1411738363


##########
ui/src/config/section/compute.js:
##########
@@ -65,9 +65,15 @@ export default {
         if (store.getters.userInfo.roletype === 'Admin') {
           fields.splice(2, 0, 'instancename')
           fields.push('account')
+          if (store.getters.listAllProjects) {

Review Comment:
   @hsato03 
   project is available for all types of users (root, domain admin  and users). 
   the code block can be moved to line 64
   ```
             if (store.getters.listAllProjects) {
               fields.push('project')
             }
   ```



-- 
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]

Reply via email to