We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d89ac0 commit c518a45Copy full SHA for c518a45
1 file changed
shell/pages/c/_cluster/explorer/workload-dashboard/ByStateSection.vue
@@ -41,13 +41,15 @@ function toCardRows(rows: typeof props.layout.cards[0]['rows']) {
41
<WorkloadCard
42
v-if="layout.subHero"
43
class="state-card bento-sub-hero"
44
+ data-testid="workload-dashboard-state-card"
45
:class="'state-card--' + layout.subHero.color"
46
:rows="toCardRows(layout.subHero.rows)"
47
:aria-label="layout.subHero.color + ' workloads'"
48
/>
49
50
v-if="layout.hero"
51
class="state-card bento-hero"
52
53
:class="['state-card--' + layout.hero.color, 'bento-hero--' + layout.heroMode]"
54
:body-columns="layout.heroMode === 'full' ? 3 : layout.heroMode === 'wide' ? 2 : undefined"
55
:rows="toCardRows(layout.hero.rows)"
0 commit comments