소스 검색

Fix booked class binding: drop .value in template

ZiB 4 달 전
부모
커밋
ea170d3c8e
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  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)),
             }"