Skip to content

Commit

Permalink
Merge pull request #125 from xchem/pagination
Browse files Browse the repository at this point in the history
missed one response
  • Loading branch information
reskyner authored Dec 18, 2018
2 parents 7268447 + 836a837 commit ccb604f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/modalStateSave.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class ModalStateSave extends Component {
}).then(function (response) {
return response.json();
}).then(function (myJson) {
var getTitle = myJson.results[JSON.stringify(0)].title;
var getTitle = myJson[JSON.stringify(0)].title;
_this.props.setSessionTitle(getTitle);
return getTitle;
}).then(getTitle => this.setState(prevState => ({title: getTitle})))
Expand Down

0 comments on commit ccb604f

Please sign in to comment.