Skip to content

Commit

Permalink
Missing return newId when creating new drug (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
roellgu1 authored Jul 19, 2023
1 parent 6db1aad commit 9bd4aec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thunorweb/webpack/thunorweb/js/plate_mapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ var plate_mapper = function () {
pyHTS.state.drugs.push({'id': newId, 'name': name});
updateDrugTypeAheads();
successCallback();
return newId;
} else {
$.ajax({
type: 'POST',
Expand Down

0 comments on commit 9bd4aec

Please sign in to comment.