We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572dde6 commit 12c9185Copy full SHA for 12c9185
resources/js/components/GraphqlMutation.vue
@@ -78,7 +78,7 @@ export default {
78
initialVariables: {},
79
data: {},
80
mutate: () => null,
81
- redirectUrl: this.redirect,
+ redirectUrl: '',
82
}),
83
84
render() {
@@ -100,6 +100,7 @@ export default {
100
created() {
101
this.initialVariables = JSON.parse(JSON.stringify(this.variables))
102
this.data = this.variables
103
+ this.redirectUrl = this.redirect
104
105
if (this.debounce) {
106
this.mutate = useDebounceFn(async () => await this.mutateFn(), this.debounce)
0 commit comments