mirror of
https://github.com/goharbor/harbor
synced 2025-05-16 18:50:08 +00:00
fix issue 2772
This commit is contained in:
parent
fae35add8f
commit
4e33bd9e46
@ -178,12 +178,17 @@ export class ConfigurationComponent implements OnInit, OnDestroy {
|
||||
this.replicationConfig.isValid &&
|
||||
this.systemSettingsConfig &&
|
||||
this.systemSettingsConfig.isValid &&
|
||||
this.vulnerabilityConfig &&
|
||||
this.vulnerabilityConfig.isValid &&
|
||||
this.mailConfig &&
|
||||
this.mailConfig.isValid() &&
|
||||
this.authConfig &&
|
||||
this.authConfig.isValid();
|
||||
this.authConfig.isValid() &&
|
||||
this.isVulnerabiltyValid;
|
||||
}
|
||||
|
||||
public get isVulnerabiltyValid(): boolean {
|
||||
return !this.appConfigService.getConfig().with_clair ||
|
||||
(this.vulnerabilityConfig &&
|
||||
this.vulnerabilityConfig.isValid);
|
||||
}
|
||||
|
||||
public hasChanges(): boolean {
|
||||
|
Loading…
x
Reference in New Issue
Block a user