Skip to content

Commit

Permalink
Added the ephemeris.NotHolidayCondition in ephemeris quick selection. (
Browse files Browse the repository at this point in the history
…#741)

Signed-off-by: Sönke Küper <[email protected]>
  • Loading branch information
soenkekueper authored Feb 6, 2021
1 parent 5e7c092 commit a55b0b7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<f7-list-item radio :checked="ephemerisEventType === 'weekdays'" name="EphemerisEventType" title="it's a weekday" @click="updateEphemerisEventType('weekdays')" />
<f7-list-item radio :checked="ephemerisEventType === 'weekends'" name="EphemerisEventType" title="it's the weekend" @click="updateEphemerisEventType('weekends')" />
<f7-list-item radio :checked="ephemerisEventType === 'holidays'" name="EphemerisEventType" title="it's a holiday" @click="updateEphemerisEventType('holidays')" />
<f7-list-item radio :checked="ephemerisEventType === 'notHolidays'" name="EphemerisEventType" title="it's not a holiday" @click="updateEphemerisEventType('notHolidays')" />
<f7-list-item radio :checked="ephemerisEventType === 'dayset'" name="EphemerisEventType" title="today is in a specific dayset" @click="updateEphemerisEventType('dayset')" />
</f7-list>
<f7-block-footer class="padding-horizontal">Remember to configure Ephemeris in Settings before using these conditions.</f7-block-footer>
Expand Down Expand Up @@ -208,6 +209,9 @@ export default {
case 'holidays':
this.$emit('typeSelect', 'ephemeris.HolidayCondition')
break
case 'notHolidays':
this.$emit('typeSelect', 'ephemeris.NotHolidayCondition')
break
case 'dayset':
this.$emit('typeSelect', 'ephemeris.DaysetCondition')
break
Expand Down

0 comments on commit a55b0b7

Please sign in to comment.