Commit 96aed0f3 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '247106-ps-use-immediate' into 'master'

Use immediate option in dast_site_validation

See merge request gitlab-org/gitlab!43607
parents 8910f4a0 874fa4e9
...@@ -125,8 +125,9 @@ export default { ...@@ -125,8 +125,9 @@ export default {
}, },
}, },
created() { created() {
this.updateValidationPath(); this.unsubscribe = this.$watch(() => this.token, this.updateValidationPath, {
this.unsubscribe = this.$watch(() => this.token, this.updateValidationPath); immediate: true,
});
}, },
methods: { methods: {
updateValidationPath() { updateValidationPath() {
......
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