Fix: Syntaxfehler in config.js behoben

- Entfernt fehlerhafte Zuweisung von serverTimestamp
- serverTimestamp() wird jetzt direkt in script.js verwendet

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
wralto-user-1
2026-11-21 21:52:24 +01:00
parent 83e6dcbdc9
commit 1a3e31f54c
2 changed files with 16 additions and 18 deletions

View File

@ -280,7 +280,7 @@ const App = {
.add({
name: name,
color: color,
createdAt: timestamp()
createdAt: firebase.firestore.FieldValue.serverTimestamp()
});
nameInput.value = '';
@ -388,7 +388,7 @@ const App = {
brewTime: brewTime,
amount: amount,
notes: notes,
createdAt: timestamp()
createdAt: firebase.firestore.FieldValue.serverTimestamp()
});
// Formular zurücksetzen