Explorar el Código

Fix booked class binding: drop .value in template

ZiB hace 4 meses
padre
commit
ea170d3c8e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      room_cal/vue/calendar.html

+ 1 - 1
room_cal/vue/calendar.html

@@ -744,7 +744,7 @@
             :class="{
               outside:  !inMonth(day),
               today:    isToday(day),
-              booked:   inMonth(day) && !!reservations.value[fmtDate(day)],
+              booked:   inMonth(day) && !!reservations[fmtDate(day)],
               closed:   inMonth(day) && isClosed(day),
               selected: bulkEnabled ? bulkDays.has(fmtDate(day)) : (selection?.type === 'day' && selection.key === fmtDate(day)),
             }"