Commit 67aa5d13 authored by Hines, Jesse's avatar Hines, Jesse
Browse files

Handle in progress simulations better

parent 54bea739
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -80,10 +80,11 @@ function Simulation() {
    if (replayStatus == "play") {
      if (nextTimestamp) {
        updateSearchParams({currentTimestamp: nextTimestamp.toISOString()});
      } else {
      } else if (data?.execution_end) {
        setReplayStatus("summarize")
        updateSearchParams({currentTimestamp: undefined});
      }
      // Just wait for the simulation to produce more data
    }
  }, (replayStatus == "play") ? 15000 / rate : null)