ph4 #56

Merged
mo merged 10 commits from ph4 into prod 2025-06-07 18:08:41 +02:00
Showing only changes of commit cef359238b - Show all commits

View File

@ -596,7 +596,7 @@ const formatDate = (dateString: string | null): string => {
const formatFrequency = (frequency?: ChoreFrequency) => {
if (!frequency) return '';
const option = frequencyOptions.find(opt => opt.value === frequency)
const option = frequencyOptions.value.find(opt => opt.value === frequency)
return option ? option.label : frequency.charAt(0).toUpperCase() + frequency.slice(1);
}
@ -832,7 +832,6 @@ const autoSaveForm = () => {
// This logic should be revised. Auto-submitting a form is usually not desired.
// Consider saving to a local draft instead.
// if (isEditing.value && selectedChore.value) {
// console.log("Attempting auto-save (currently disabled logic)");
// // onSubmit() // This is risky; onSubmit usually makes an API call
// }
}, 3000) // Auto-save after 3 seconds of inactivity