Skip to content

Commit

Permalink
Merge pull request #51 from dnwjn/fix/reload
Browse files Browse the repository at this point in the history
fix: change reload call
  • Loading branch information
dnwjn authored Jun 20, 2024
2 parents 397ceb2 + dd39ae9 commit a5d3989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/field.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default {
reload() {
if (this.field.reload && queue.allowsReload()) {
window.setTimeout(() => {
this.$inertia.reload();
this.$inertia.visit(window.location.href);
}, 200);
}
},
Expand Down

0 comments on commit a5d3989

Please sign in to comment.