Skip to content

Commit 528fca2

Browse files
LayonRibeirolayon.oliveirawinterhazel
authored
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]>
1 parent 26095e2 commit 528fca2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ui/src/components/view/ListView.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,12 @@
240240
<template v-if="column.key === 'agentstate'">
241241
<status :text="text ? text : ''" displayText />
242242
</template>
243+
<template v-if="column.key === 'cpunumber'">
244+
<span>{{ record.serviceofferingdetails?.mincpunumber && record.serviceofferingdetails?.maxcpunumber ? `${record.serviceofferingdetails.mincpunumber} - ${record.serviceofferingdetails.maxcpunumber}` : record.cpunumber }}</span>
245+
</template>
246+
<template v-if="column.key === 'memory'">
247+
<span>{{ record.serviceofferingdetails?.minmemory && record.serviceofferingdetails?.maxmemory ? `${record.serviceofferingdetails.minmemory} - ${record.serviceofferingdetails.maxmemory}` : record.memory }}</span>
248+
</template>
243249
<template v-if="column.key === 'quotastate'">
244250
<status :text="text ? text : ''" displayText />
245251
</template>

0 commit comments

Comments
 (0)