added functionality to edit child and show shared status directly
Build and Push Docker Image / build-and-push (pull_request) Successful in 58s
Python Code Quality / python-code-quality (pull_request) Successful in 10s
Python Test / python-test (pull_request) Successful in 18s

This commit is contained in:
Brian Bjarke Jensen
2025-11-12 17:23:32 +01:00
parent c7ef7b6f1f
commit 4898cce969
2 changed files with 24 additions and 129 deletions
+2 -2
View File
@@ -313,9 +313,9 @@
: "Child added successfully!",
"success",
);
// Redirect to home page after 1 second
// Redirect to settings page if editing, otherwise home page
setTimeout(() => {
window.location.href = "/";
window.location.href = isEditMode ? "/settings.html" : "/";
}, 1000);
} else {
showMessage(