Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mboudet committed May 24, 2022
1 parent 0d789b9 commit 26d267f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions askomics/react/src/routes/admin/ontologies.jsx
Expand Up @@ -3,6 +3,7 @@ import axios from 'axios'
import {Button, Form, FormGroup, Label, Input, Alert, Row, Col, CustomInput } from 'reactstrap'
import BootstrapTable from 'react-bootstrap-table-next'
import paginationFactory from 'react-bootstrap-table2-paginator'
import update from 'react-addons-update'
import PropTypes from 'prop-types'
import Utils from '../../classes/utils'
import { Redirect } from 'react-router-dom'
Expand Down Expand Up @@ -69,7 +70,7 @@ export default class Ontologies extends Component {
ontologiesSelected: [],
})
this.props.setStateNavbar({
config: update(this.props.config, {ontologies: {$set: cleanupOntologies(response.data.ontologies)}})
config: update(this.props.config, {ontologies: {$set: this.cleanupOntologies(response.data.ontologies)}})
})
})
}
Expand Down Expand Up @@ -138,7 +139,7 @@ export default class Ontologies extends Component {
type: "local"
})
this.props.setStateNavbar({
config: update(this.props.config, {ontologies: {$set: cleanupOntologies(response.data.ontologies)}})
config: update(this.props.config, {ontologies: {$set: this.cleanupOntologies(response.data.ontologies)}})
})
})
.catch(error => {
Expand Down

0 comments on commit 26d267f

Please sign in to comment.