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

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

parent b5f2b0e8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -152,6 +152,7 @@ export const DUMMY_EXERCISE: Exercise = {
  name: '',
  instructors: [],
  createdBy: null,
  exerciseFinish: new Date(0).toUTCString(),
  timestampCreated: '',
  config: {
    id: '0',
Compare cfde32f4 to 35478856
Original line number Diff line number Diff line
Subproject commit cfde32f4c385d35201c48253f5591dac7ff1e9d5
Subproject commit 354788563816ad9a938db026fb6290ce8472ee5c
+1 −1
Original line number Diff line number Diff line
{
  "name": "@inject/codegen",
  "version": "3.10.0",
  "version": "3.11.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.10.0",
  "version": "3.11.0",
  "description": "Main wrapper for rendering INJECT Frontend",
  "main": "index.js",
  "license": "MIT",
+7 −4
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ import { DeleteDefinition, useTypedMutation } from '@inject/graphql'
import { LinkButton } from '@inject/shared'
import type { FC } from 'react'
import { useState } from 'react'
import DeleteAlert from '../../exercisepanel/DeleteAlert'
import ConfirmAlert from '../../exercisepanel/ConfirmAlert'
import { DefinitionAssignmentRoute } from '../../routes/_navbar/exercise-panel/definition.$definitionId'
import InfoButton from './InfoButton'

@@ -53,10 +53,13 @@ const DefinitionButtons: FC<DefinitionButtonsProps> = ({ definition }) => {
        <InfoButton definition={definition} />
      </ButtonGroup>

      <DeleteAlert
      <ConfirmAlert
        icon='trash'
        confirmButtonText='Delete'
        intent='danger'
        open={alertOpen}
        setOpen={setAlertOpen}
        onDelete={() =>
        onConfirm={() =>
          deleteDefinition({
            definitionId,
          })
@@ -69,7 +72,7 @@ const DefinitionButtons: FC<DefinitionButtonsProps> = ({ definition }) => {
            All exercises created from the selected definition will be deleted!
          </b>
        </p>
      </DeleteAlert>
      </ConfirmAlert>
    </>
  )
}
Loading