fix(reminders): custom relative highlight now only when a custom relative reminder was actually selected
This commit is contained in:
parent
8930f61548
commit
5e4eb4a728
@ -23,7 +23,7 @@
|
|||||||
<SimpleButton
|
<SimpleButton
|
||||||
@click="showFormSwitch = 'relative'"
|
@click="showFormSwitch = 'relative'"
|
||||||
class="option-button"
|
class="option-button"
|
||||||
:class="{'currently-active': modelValue?.relativeTo !== null && presets.find(p => p.relativePeriod === modelValue?.relativePeriod && modelValue?.relativeTo === p.relativeTo) === undefined}"
|
:class="{'currently-active': typeof modelValue !== 'undefined' && modelValue?.relativeTo !== null && presets.find(p => p.relativePeriod === modelValue?.relativePeriod && modelValue?.relativeTo === p.relativeTo) === undefined}"
|
||||||
>
|
>
|
||||||
{{ $t('task.reminder.custom') }}
|
{{ $t('task.reminder.custom') }}
|
||||||
</SimpleButton>
|
</SimpleButton>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user