streamlined manual entry redirects back to related overview page
This commit is contained in:
@@ -235,7 +235,7 @@
|
||||
<button
|
||||
type="button"
|
||||
class="button secondary"
|
||||
onclick="window.location.href='/'"
|
||||
onclick="window.location.href='/diapers.html'"
|
||||
>
|
||||
Cancel
|
||||
</button>
|
||||
@@ -431,7 +431,7 @@
|
||||
"success",
|
||||
);
|
||||
setTimeout(() => {
|
||||
window.location.href = "/";
|
||||
window.location.href = "/diapers.html";
|
||||
}, 1000);
|
||||
} else {
|
||||
const errorData = await response.json();
|
||||
|
||||
Reference in New Issue
Block a user