Commit 874fa4e9 authored by Paul Slaughter's avatar Paul Slaughter

Use immediate option in dast_site_validation

parent 93fc192d
...@@ -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