diff --git a/fe/src/pages/ChoresPage.vue b/fe/src/pages/ChoresPage.vue index 5a35f83..db454cd 100644 --- a/fe/src/pages/ChoresPage.vue +++ b/fe/src/pages/ChoresPage.vue @@ -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