diff --git a/ui-react/src/components/flightboard/FlightboardRow.js b/ui-react/src/components/flightboard/FlightboardRow.js index 21cc8d1..7082382 100644 --- a/ui-react/src/components/flightboard/FlightboardRow.js +++ b/ui-react/src/components/flightboard/FlightboardRow.js @@ -23,7 +23,7 @@ class FlightboardRow extends Component { this.setState({ timesPresent: true }); - + if (room.Busy) { this.setState({ nextUp: '' @@ -38,6 +38,10 @@ class FlightboardRow extends Component { } } + componentDidUpdate = () => { + this.getAppointmentTime(); + } + componentDidMount = () => { this.getAppointmentTime(); }