debug: Add console logging to trace start_date loading
All checks were successful
Deploy Development / deploy (push) Successful in 50s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 14s

This commit is contained in:
Lars 2026-03-28 13:55:29 +01:00
parent 3604ebc781
commit ab29a85903

View File

@ -188,6 +188,9 @@ export default function GoalsPage() {
} }
const handleEditGoal = (goal) => { const handleEditGoal = (goal) => {
console.log('[DEBUG] Editing goal:', goal)
console.log('[DEBUG] start_date from goal:', goal.start_date, 'type:', typeof goal.start_date)
setEditingGoal(goal.id) setEditingGoal(goal.id)
setFormData({ setFormData({
goal_type: goal.goal_type, goal_type: goal.goal_type,