fix: Auto-Accept-Retry bei fehlendem Logbuch-Schlüssel ermöglichen

autoAcceptStarted wird zurückgesetzt, wenn logbookKey oder logbookId fehlen, damit der Einladungsflow erneut starten kann.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-29 17:09:11 +02:00
parent 404eb79add
commit ac84fef832
@@ -144,7 +144,10 @@ export default function InvitationAcceptance({ onAccepted, onCancel }: Invitatio
setIsLoggedIn(false)
return
}
if (!logbookKey || !logbookId) return
if (!logbookKey || !logbookId) {
autoAcceptStarted.current = false
return
}
setAccepting(true)
setError(null)