Skip to content

Commit

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

Signed-off-by: AllForNothing <[email protected]>
  • Loading branch information
AllForNothing authored Aug 16, 2023
1 parent 56f6c27 commit 0e9fe03
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;
}

canReduce(): boolean {
Expand Down

0 comments on commit 0e9fe03

Please sign in to comment.