added functionality to edit child and show shared status directly
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user