Skip to content

Commit c208698

Browse files
committed
UI: Fix cpu & memory details on list view for unmanaged k8s clusters (CAPC)
1 parent f52e058 commit c208698

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/components/view/ListView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@
273273
<template v-if="column.key === 'agentstate'">
274274
<status :text="text ? text : ''" displayText />
275275
</template>
276-
<template v-if="column.key === 'cpunumber'">
276+
<template v-if="column.key === 'cpunumber' && $route.path.split('/')[1] !== 'kubernetes'">
277277
<span>{{ record.serviceofferingdetails?.mincpunumber && record.serviceofferingdetails?.maxcpunumber ? `${record.serviceofferingdetails.mincpunumber} - ${record.serviceofferingdetails.maxcpunumber}` : record.cpunumber }}</span>
278278
</template>
279-
<template v-if="column.key === 'memory'">
279+
<template v-if="column.key === 'memory' && $route.path.split('/')[1] !== 'kubernetes'">
280280
<span>{{ record.serviceofferingdetails?.minmemory && record.serviceofferingdetails?.maxmemory ? `${record.serviceofferingdetails.minmemory} - ${record.serviceofferingdetails.maxmemory}` : record.memory }}</span>
281281
</template>
282282
<template v-if="column.key === 'quotastate'">

0 commit comments

Comments
 (0)