Skip to content

Commit

Permalink
fixed a bug where clicking a species in the summary in explore mode h…
Browse files Browse the repository at this point in the history
…ad no effect.

Added a check for active row in insert-manual-record
  • Loading branch information
Mattk70 committed Feb 17, 2024
1 parent 1cceb22 commit 2a52512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -4439,7 +4439,7 @@ function track(event, action, name, value){
DBaction: action,
batch: batch,
confidence: confidence,
active: activeRow.rowIndex - 1 // have to account for the header row
active: activeRow?.rowIndex - 1 // have to account for the header row
})
}

Expand Down
1 change: 1 addition & 0 deletions js/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2397,6 +2397,7 @@ const prepSummaryStatement = (included) => {
} else {
sendResult(++index, r, true)
}
if (i === result.length -1) UI.postMessage({event: 'processing-complete'})
}
if (!result.length) {
if (STATE.selection) {
Expand Down

0 comments on commit 2a52512

Please sign in to comment.