Room planner: add debug-room endpoint, fix next_status null check

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-04 11:54:32 +00:00
parent 916dc50390
commit 0d14473daf
2 changed files with 79 additions and 2 deletions

View file

@ -104,8 +104,8 @@ function RoomCard({ room, viewDate, config, onClick }: Props) {
}
if (room.spans_next) {
dataAttrs['data-spans-next'] = 'true'
} else if (room.next_status) {
dataAttrs['data-next-status'] = room.next_status.toLowerCase()
} else if (room.next_status != null) {
dataAttrs['data-next-status'] = room.next_status || 'unknown'
}
// Task status pill