fix: Allow admins to add past events #396

This commit is contained in:
lesion 2024-05-16 18:16:20 +02:00
parent 63086de9f0
commit bbad9d127d
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -22,8 +22,8 @@ v-col(cols=12)
:is-dark="is_dark"
is-inline
is-expanded
:min-date='new Date()')
v-col.calh.text-center(slot='placeholder')
:min-date='!$auth?.user?.is_admin && new Date()')
v-col.calh.mx-auto(slot='placeholder')
v-progress-circular(indeterminate color='primary')
div.text-center.mb-2(v-if='type === "recurrent"')