Commit 2e62d639 authored by Marek Veselý's avatar Marek Veselý
Browse files

Merge branch 'fix-on-demand-buttons' into 'main'

fix: on demand buttons disappear when PAUSED

See merge request inject/frontend!914
parents fde6c27a 54f5f3a9
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}