Skip to content

Commit

Permalink
Update the max length for the filters
Browse files Browse the repository at this point in the history
1.Fixes #19193

Signed-off-by: AllForNothing <[email protected]>
  • Loading branch information
AllForNothing committed Aug 16, 2023
1 parent 289d4e2 commit b0cb7a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class VulnerabilityFilterComponent {
}

canAdd(): boolean {
return this.selectedOptions.length < 7;
return this.selectedOptions.length < this.allOptions.length;

Check warning on line 76 in src/portal/src/app/base/left-side-nav/interrogation-services/vulnerability-database/vulnerability-filter/vulnerability-filter.component.ts

View check run for this annotation

Codecov / codecov/patch

src/portal/src/app/base/left-side-nav/interrogation-services/vulnerability-database/vulnerability-filter/vulnerability-filter.component.ts#L76

Added line #L76 was not covered by tests
}

canReduce(): boolean {
Expand Down

0 comments on commit b0cb7a0

Please sign in to comment.