Skip to content

Commit

Permalink
Guard response
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed Feb 1, 2024
1 parent 8f2ebb0 commit a2d3c2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions histoqc/web_client/js/histoqc_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ function load_histoqc_subfolder(folder_id, table_id) {
name: histoqc_output_folder_name
}
}).done(function (response) {
if (!response || !response.length) {
return;
}
const histoqc_output_folder_id = response[0]._id
initialize_table(histoqc_output_folder_id, table_id)
renderParallelData(histoqc_output_folder_id);
Expand Down

0 comments on commit a2d3c2b

Please sign in to comment.