Verified Commit 54f5f3a9 authored by Marek Veselý's avatar Marek Veselý
Browse files

fix: on demand buttons disappear when PAUSED

parent dccb465d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ export const OnDemandTeamButtons: FC<OnDemandTeamButtonsProps> = ({
      )}

      {/* resume */}
      {status === 'STOPPED' && (
      {status === 'PAUSED' && (
        <Button
          intent={intent}
          icon='play'
@@ -67,7 +67,7 @@ export const OnDemandTeamButtons: FC<OnDemandTeamButtonsProps> = ({
      )}

      {/* stop (finish) */}
      {(status === 'RUNNING' || status === 'STOPPED') && (
      {(status === 'RUNNING' || status === 'PAUSED') && (
        <>
          <Button
            intent={intent}