From e8cc2dba784f0bbb986636677026ab40d5054a1a Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Fri, 14 Apr 2023 18:24:37 +0200 Subject: [PATCH] Inform the user that the configuration is done --- static/js/settings.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/settings.js b/static/js/settings.js index b21219b5..2f2e5fde 100644 --- a/static/js/settings.js +++ b/static/js/settings.js @@ -112,9 +112,11 @@ fetch('/settings') .then((response) => response.json()) .then((data) => { console.log(data); + alert("Configuration set successfully") }) .catch((error) => { console.error('Error:', error); + alert("Error setting configuration") }); });