Skip to content

Commit c8d5871

Browse files
committed
fix: exahm rooms
1 parent 6f975d8 commit c8d5871

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/lib/exam/ExamWithNTAsForRoomPlanning.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
if (room.name == 'R1.049') {
135135
return 'bg-blue-300';
136136
}
137-
if (room.exahmRooms) {
137+
if (room.exahm) {
138138
return 'bg-cyan-300';
139139
}
140140
if (room.lab) {
@@ -158,6 +158,7 @@
158158
const roomName = room.room.name;
159159
const reserve = room.reserve;
160160
const mtknr = room.ntaMtknr;
161+
room.prePlanned = true;
161162
162163
const res = await fetch('/api/prePlanRoom', {
163164
method: 'POST',

0 commit comments

Comments
 (0)