mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-08 08:57:45 +01:00
[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:
parent
05cb1d771b
commit
8cd612a6ef
@ -73,7 +73,7 @@ export class VulnerabilityFilterComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
canAdd(): boolean {
|
canAdd(): boolean {
|
||||||
return this.selectedOptions.length < 7;
|
return this.selectedOptions.length < this.allOptions.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
canReduce(): boolean {
|
canReduce(): boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user