[Cherry-pick]Update the max length for the filters (#19195)

Update the max length for the filters
1.Cherry-pick #19194

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
Shijun Sun 2023-08-16 17:15:07 +08:00 committed by GitHub
parent 05cb1d771b
commit 8cd612a6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ export class VulnerabilityFilterComponent {
}
canAdd(): boolean {
return this.selectedOptions.length < 7;
return this.selectedOptions.length < this.allOptions.length;
}
canReduce(): boolean {