mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-22 02:04:44 +01:00
Merge pull request #98 from itbencn/add-machine-bug
fix add_machine reload bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user