Skip to content

Commit

Permalink
Merge pull request #98 from itbencn/add-machine-bug
Browse files Browse the repository at this point in the history
fix add_machine reload bug
  • Loading branch information
iFargle authored May 2, 2023
2 parents 0434d28 + d193ade commit 0ff6de4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ function add_machine() {
success: function (response) {
if (response.machine) {
window.location.reload()
return
}
load_modal_generic("error", "Error adding machine", response.message)
return
Expand Down

0 comments on commit 0ff6de4

Please sign in to comment.