mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-11 10:27:58 +01:00
fix issue 2772 (#2785)
This commit is contained in:
parent
c91189a560
commit
bf8a05615b
@ -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…
Reference in New Issue
Block a user