fix: 0 bzw. keine Besucher bei 'Beobachtung' akzeptiert — Version 1.10.3
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -150,7 +150,7 @@ export default function LogbuchForm({ kuppel, currentUserBeo, editEntry, onSaved
|
||||
setError('');
|
||||
setSuccess(false);
|
||||
|
||||
if (showBesucher && besucher === '') {
|
||||
if (showBesucher && artFuehrung !== 'Beob' && besucher === '') {
|
||||
setError('Bitte Besucherzahl eingeben.');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user