Skip to content

Commit 12c9185

Browse files
authored
Fix
1 parent 572dde6 commit 12c9185

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/js/components/GraphqlMutation.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default {
7878
initialVariables: {},
7979
data: {},
8080
mutate: () => null,
81-
redirectUrl: this.redirect,
81+
redirectUrl: '',
8282
}),
8383
8484
render() {
@@ -100,6 +100,7 @@ export default {
100100
created() {
101101
this.initialVariables = JSON.parse(JSON.stringify(this.variables))
102102
this.data = this.variables
103+
this.redirectUrl = this.redirect
103104
104105
if (this.debounce) {
105106
this.mutate = useDebounceFn(async () => await this.mutateFn(), this.debounce)

0 commit comments

Comments
 (0)