Commit f22fcccd authored by Filip Šenk's avatar Filip Šenk Committed by Marek Veselý
Browse files

Resolve "Chore: New version of Backend - v3.8.0"

parent 9e46df3f
Loading
Loading
Loading
Loading
Compare ad064eb0 to 6865e97e
Original line number Diff line number Diff line
Subproject commit ad064eb0c6daec786c1e1b3ba33a896351409c67
Subproject commit 6865e97e38bccc1e6216825c473bcfdb8a8b03dc
+1 −1
Original line number Diff line number Diff line
{
  "name": "@inject/codegen",
  "version": "3.7.0",
  "version": "3.8.0",
  "description": "GraphQL API Codegen Setup for the Inject Backend",
  "main": "index.js",
  "license": "MIT",
+1 −1
Original line number Diff line number Diff line
{
  "name": "@inject/frontend",
  "version": "3.7.0",
  "version": "3.8.0",
  "description": "Main wrapper for rendering INJECT Frontend",
  "main": "index.js",
  "license": "MIT",
+2 −11
Original line number Diff line number Diff line
@@ -33,9 +33,8 @@ type ExerciseButtonsProps = {
  | {
      type: 'selecting'
      details: SelectingDetails
      runningAny?: never
    }
  | { type: 'managing'; details?: never; runningAny: boolean }
  | { type: 'managing'; details?: never }
)

const executeMutation = (
@@ -104,7 +103,6 @@ const ExerciseButtons: FC<ExerciseButtonsProps> = ({
  exercise,
  type,
  details,
  runningAny,
}) => {
  const [alertOpen, setAlertOpen] = useState(false)
  const [startAlertOpen, setStartAlertOpen] = useState(false)
@@ -141,14 +139,7 @@ const ExerciseButtons: FC<ExerciseButtonsProps> = ({
                  }
                }}
                loading={loading}
                disabled={runningAny}
                title={
                  runningAny
                    ? 'Only one exercise can run at a time'
                    : exercise.exerciseStart
                      ? 'Resume'
                      : 'Start'
                }
                title={exercise.exerciseStart ? 'Resume' : 'Start'}
              />
              {type === 'managing' && !exercise.exerciseStart && (
                <StartAlert
+1 −2
Original line number Diff line number Diff line
@@ -131,7 +131,6 @@ const ExerciseList: FC<ExerciseListProps> = ({
              ? { type: 'selecting', details: details(exercise) }
              : {
                  type: 'managing',
                  runningAny: exercises.some(e => e.running),
                })}
          />
        ),
@@ -140,7 +139,7 @@ const ExerciseList: FC<ExerciseListProps> = ({
    ]

    return columns
  }, [details, exercises, isSelected, type])
  }, [details, isSelected, type])

  const rows: Row<Exercise>[] = useMemo(() => {
    const rows: Row<Exercise>[] = exercises.map(exercise => ({
Loading