diff --git a/ui/src/config/section/compute.js b/ui/src/config/section/compute.js index e9a16ff6322b..007bd8c3f9d5 100644 --- a/ui/src/config/section/compute.js +++ b/ui/src/config/section/compute.js @@ -32,9 +32,9 @@ export default { permission: ['listVirtualMachinesMetrics'], resourceType: 'UserVm', params: () => { - var params = {} + var params = { details: 'servoff,tmpl,nics' } if (store.getters.metrics) { - params = { state: 'running' } + params = { details: 'servoff,tmpl,nics,stats' } } return params }, diff --git a/ui/src/store/mutation-types.js b/ui/src/store/mutation-types.js index bbc27ef1b1a9..0fe4a104958e 100644 --- a/ui/src/store/mutation-types.js +++ b/ui/src/store/mutation-types.js @@ -37,6 +37,7 @@ export const DOMAIN_STORE = 'DOMAIN_STORE' export const DARK_MODE = 'DARK_MODE' export const VUE_VERSION = 'VUE_VERSION' export const CUSTOM_COLUMNS = 'CUSTOM_COLUMNS' +export const RELOAD_ALL_PROJECTS = 'RELOAD_ALL_PROJECTS' export const CONTENT_WIDTH_TYPE = { Fluid: 'Fluid', diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index 4bc0c43616f2..a3d62a9bebee 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -858,6 +858,10 @@ export default { delete params.showunique } + if (['listVirtualMachinesMetrics'].includes(this.apiName) && this.dataView) { + delete params.details + } + this.loading = true if (this.$route.params && this.$route.params.id) { params.id = this.$route.params.id