From d193ade192e5c8b00ca12ed2240a7c573e23e2d4 Mon Sep 17 00:00:00 2001 From: itbencn Date: Tue, 2 May 2023 13:25:46 +0800 Subject: [PATCH] fix add_machine reload bug --- static/js/custom.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/custom.js b/static/js/custom.js index 3a34636..61c7008 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -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