fix(date picker): hide "this weekend" option on Sunday after 9pm (#1813)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kolaente <13721712+kolaente@users.noreply.github.com>
This commit is contained in:
parent
650fb94978
commit
9990a1f60f
|
|
@ -31,6 +31,7 @@
|
|||
</span>
|
||||
</BaseButton>
|
||||
<BaseButton
|
||||
v-if="!((new Date()).getDay() === 0 && (new Date()).getHours() >= 21)"
|
||||
class="datepicker__quick-select-date"
|
||||
@click.stop="setDate('thisWeekend')"
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue