Skip to content

Commit

Permalink
Update the max length for the filters
Browse files Browse the repository at this point in the history
1.Cherry-pick goharbor#19194

Signed-off-by: AllForNothing <sshijun@vmware.com>
  • Loading branch information
AllForNothing committed Aug 16, 2023
1 parent 05cb1d7 commit d0140b1
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 d0140b1

Please sign in to comment.