diff --git a/backend/app/routes/games.py b/backend/app/routes/games.py index 4429cc7..2e7fb99 100644 --- a/backend/app/routes/games.py +++ b/backend/app/routes/games.py @@ -75,7 +75,7 @@ def patch_sheet(req: Request, game_id: str, entry_id: str, data: dict, db: Sessi if note_tag not in (None, "i", "m", "s"): raise HTTPException(400, "invalid note_tag") - if status is not None and status not in (0, 1, 2): + if status is not None and status not in (0, 1, 2, 3): raise HTTPException(400, "invalid status") st = db.query(SheetState).filter( diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index bc4dd76..3c7da14 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -62,7 +62,6 @@ function AdminPanel() { const closeModal = () => { setOpen(false); setMsg(""); - // optional: resetForm(); // wenn du beim Schließen leeren willst }; return ( @@ -87,7 +86,6 @@ function AdminPanel() { ))} - {/* Modal */} {open && (