Skip to content

Commit

Permalink
Merge pull request rancher#10341 from codyrancher/undefined-bundle
Browse files Browse the repository at this point in the history
Fixing an issue where a field can sometimes be undefined
  • Loading branch information
codyrancher authored Jan 31, 2024
2 parents b4d463b + a9fbc85 commit d38198c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/detail/fleet.cattle.io.bundle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
if (this.hasRepoLabel) {
const bundleResourceIds = this.bundleResourceIds;
return this.repo?.status?.resources.filter((resource) => {
return this.repo?.status?.resources?.filter((resource) => {
return bundleResourceIds.includes(resource.name);
});
} else if (this.value?.spec?.resources?.length) {
Expand Down

0 comments on commit d38198c

Please sign in to comment.