Einheit für Erinnerung hinzugefügt

This commit is contained in:
2026-01-08 10:10:41 +01:00
parent 6edddb8249
commit 132b571798
2 changed files with 6 additions and 6 deletions

View File

@@ -52,8 +52,8 @@ const JournalPage = ({ authorizedFetch, stores }) => {
note: '',
reminderEnabled: true,
reminderInterval: 'yearly',
reminderBeforeValue: 42,
reminderBeforeUnit: 'days'
reminderBeforeValue: 6,
reminderBeforeUnit: 'weeks'
});
const [images, setImages] = useState([]);
const [existingImages, setExistingImages] = useState([]);
@@ -124,7 +124,7 @@ const JournalPage = ({ authorizedFetch, stores }) => {
? Math.max(0, rawValue)
: Number.isFinite(fallbackValue)
? Math.max(0, fallbackValue)
: 42;
: 6;
return { unit, value };
}, []);
@@ -341,8 +341,8 @@ const JournalPage = ({ authorizedFetch, stores }) => {
note: '',
reminderEnabled: true,
reminderInterval: 'yearly',
reminderBeforeValue: 42,
reminderBeforeUnit: 'days'
reminderBeforeValue: 6,
reminderBeforeUnit: 'weeks'
});
}, [images]);