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:
parent
916dc50390
commit
0d14473daf
2 changed files with 79 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue