Commit aef22ce3 authored by Dave Pisek's avatar Dave Pisek

DAST on-demand site profiles: prevent error banner from showing

This commit puts a feature flag before a request to prevent an
error-banner from showing due to accessing a non-existing graphql
endpoint.
parent c873e289
......@@ -152,7 +152,10 @@ export default {
async created() {
if (this.isEdit) {
this.validateTargetUrl();
await this.fetchValidationStatus();
if (this.glFeatures.securityOnDemandScansSiteValidation) {
await this.fetchValidationStatus();
}
}
},
methods: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment