Skip to content

Commit

Permalink
Merge pull request #6606 from mantis-toboggan-md/bugfix-harvester-pro…
Browse files Browse the repository at this point in the history
…jectsnamespaces

do not attempt to filter by namespace for any unnamespaced resource
  • Loading branch information
mantis-toboggan-md authored Aug 4, 2022
2 parents 194d9a7 + fbd7274 commit 8334ed8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shell/components/ResourceTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ export default {
const isVirtualProduct = this.$store.getters['currentProduct'].name === HARVESTER;
// If the resources isn't namespaced or we want ALL of them, there's nothing to do.
if ( (!this.isNamespaced || isAll) && !isVirtualProduct) {
// If this is a harvester list, 'all' must still be filtered
if ( !this.isNamespaced || (isAll && !isVirtualProduct)) {
return this.rows || [];
}
Expand Down

0 comments on commit 8334ed8

Please sign in to comment.