Goals -System refactored - Platzhaltersystem enhanced (als draft) #53

Merged
Lars merged 86 commits from develop into main 2026-03-31 11:46:48 +02:00
Showing only changes of commit 1c7b5e0653 - Show all commits

View File

@ -196,6 +196,7 @@ export default function GoalsPage() {
priority: goal.priority || 2,
target_value: goal.target_value,
unit: goal.unit,
start_date: goal.start_date || new Date().toISOString().split('T')[0],
target_date: goal.target_date || '',
name: goal.name || '',
description: goal.description || '',
@ -227,6 +228,7 @@ export default function GoalsPage() {
priority: formData.priority,
target_value: parseFloat(formData.target_value),
unit: formData.unit,
start_date: formData.start_date || null,
target_date: formData.target_date || null,
name: formData.name || null,
description: formData.description || null,