This is an automated email from the ASF dual-hosted git repository.
joao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 528fca2f179
Added-cpu-core-and-memory-range-fot-type-offers-CustomConstrained (#9930)
528fca2f179 is described below
commit 528fca2f17949807e22cbe24d31ab505e7c5234e
Author: Layon <[email protected]>
AuthorDate: Thu Nov 28 14:42:55 2024 -0300
Added-cpu-core-and-memory-range-fot-type-offers-CustomConstrained (#9930)
* Added-cpu-core-and-memory-range-fot-type-offers-CustomConstrained
* Update ui/src/components/view/ListView.vue
Co-authored-by: Fabricio Duarte <[email protected]>
* Update ui/src/components/view/ListView.vue
Co-authored-by: Fabricio Duarte <[email protected]>
---------
Co-authored-by: layon.oliveira <[email protected]>
Co-authored-by: Fabricio Duarte <[email protected]>
---
ui/src/components/view/ListView.vue | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/ui/src/components/view/ListView.vue
b/ui/src/components/view/ListView.vue
index 032985c730e..ab61bcfb6af 100644
--- a/ui/src/components/view/ListView.vue
+++ b/ui/src/components/view/ListView.vue
@@ -240,6 +240,12 @@
<template v-if="column.key === 'agentstate'">
<status :text="text ? text : ''" displayText />
</template>
+ <template v-if="column.key === 'cpunumber'">
+ <span>{{ record.serviceofferingdetails?.mincpunumber &&
record.serviceofferingdetails?.maxcpunumber ?
`${record.serviceofferingdetails.mincpunumber} -
${record.serviceofferingdetails.maxcpunumber}` : record.cpunumber }}</span>
+ </template>
+ <template v-if="column.key === 'memory'">
+ <span>{{ record.serviceofferingdetails?.minmemory &&
record.serviceofferingdetails?.maxmemory ?
`${record.serviceofferingdetails.minmemory} -
${record.serviceofferingdetails.maxmemory}` : record.memory }}</span>
+ </template>
<template v-if="column.key === 'quotastate'">
<status :text="text ? text : ''" displayText />
</template>