Skip to content
Snippets Groups Projects

Update Lab.java display method; was displaying too much

1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -537,7 +537,8 @@ public class Lab implements Serializable {
public boolean display() {
return (now().isAfter(slot.getOpensAt()) && slot.getClosesAt().plusMinutes(15).isAfter(now())) ||
(signOffIntervals && now().isAfter(slotSelectionOpensAt));
(signOffIntervals && now().isAfter(slotSelectionOpensAt) &&
slot.getClosesAt().plusMinutes(15).isAfter(now()));
}
public boolean hasRoom(Room room) {
Loading