Skip to content

Commit

Permalink
Fix gitrepo bundle list and bundle list when there's a gitrepo that d…
Browse files Browse the repository at this point in the history
…oes not target any clusters
  • Loading branch information
richard-cox committed Jan 16, 2025
1 parent 36d8a06 commit 7a4b3d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion shell/components/fleet/FleetBundles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ export default {
class="text-warning"
>
{{ row.status.summary.ready }}/{{ row.status.summary.desiredReady }}</span>
<span v-else-if="row.status">{{ row.status.summary.desiredReady }}</span>
<span v-else-if="row.status && row.status.summary">{{ row.status.summary.desiredReady }}</span>
<span v-else>-</span>
</template>
</ResourceTable>
</div>
Expand Down
4 changes: 2 additions & 2 deletions shell/list/fleet.cattle.io.bundle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ export default {
>
<template #cell:deploymentsReady="{row}">
<span
v-if="row.status && (row.status.summary.desiredReady !== row.status.summary.ready)"
v-if="row.status && row.status.summary && (row.status.summary.desiredReady !== row.status.summary.ready)"
class="text-warning"
>
{{ row.status.summary.ready }}/{{ row.status.summary.desiredReady }}</span>
<span v-else-if="row.status">{{ row.status.summary.desiredReady }}</span>
<span v-else-if="row.status && row.status.summary">{{ row.status.summary.desiredReady }}</span>
<span v-else>-</span>
</template>
</ResourceTable>
Expand Down

0 comments on commit 7a4b3d1

Please sign in to comment.