Skip to content

Commit

Permalink
fix add_machine reload bug
Browse files Browse the repository at this point in the history
  • Loading branch information
itbencn committed May 2, 2023
1 parent 0434d28 commit d193ade
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 d193ade

Please sign in to comment.