Skip to content

Commit f9af1f5

Browse files
[5.x] Fix dirty state on preferences edit form (#11655)
Co-authored-by: Jason Varga <[email protected]>
1 parent 7ab6702 commit f9af1f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/components/preferences/EditForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default {
108108
.patch(url, this.currentValues)
109109
.then(() => {
110110
this.$refs.container.saved();
111-
location.reload();
111+
this.$nextTick(() => location.reload());
112112
})
113113
.catch(e => this.handleAxiosError(e));
114114
},

0 commit comments

Comments
 (0)