davidjumani commented on a change in pull request #382: URL: https://github.com/apache/cloudstack-primate/pull/382#discussion_r448266337
########## File path: src/components/view/ResourceView.vue ########## @@ -101,6 +102,19 @@ export default { this.networkService = response.listnetworksresponse.network[0] }) } + if (this.resource.projectaccountname) { + var projectAccountList = [] + api('listProjectAccounts', { projectid: this.resource.id }).then(response => { + projectAccountList = response.listprojectaccountsresponse.projectaccount + for (var pa in projectAccountList) { + if ((projectAccountList[pa].userid && 'fetchUser(projectAccountList[pa].userid)'.username === this.$store.getters.userInfo.username) || Review comment: Why is this a string when it is a function call ? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org