WIP: feat: add default reminder for tasks with a due date #2360
|
@ -321,7 +321,6 @@ async function updateSettings() {
|
||||||
const reminderSettings = getSavedReminderSettings()
|
const reminderSettings = getSavedReminderSettings()
|
||||||
|
|
||||||
const defaultReminderEnabled = ref<boolean>(reminderSettings?.enabled || false)
|
const defaultReminderEnabled = ref<boolean>(reminderSettings?.enabled || false)
|
||||||
// TODO: re-populate amount and type
|
|
||||||
const defaultReminderAmount = ref(reminderSettings?.amount || 1)
|
const defaultReminderAmount = ref(reminderSettings?.amount || 1)
|
||||||
const defaultReminderAmountType = ref(reminderSettings?.type || 'days')
|
const defaultReminderAmountType = ref(reminderSettings?.type || 'days')
|
||||||
konrad marked this conversation as resolved
|
|||||||
</script>
|
</script>
|
||||||
|
|
Reference in New Issue
Shouldn't the fallback be the same as the default in the model?
Actually not, because this is what gets shown in the input when setting this for the first time. I felt like putting a
0
here would feel weired.