Skip to content

Commit

Permalink
Merge pull request #250 from biodiversitydata-se/upstream-collection-…
Browse files Browse the repository at this point in the history
…progress-bar

Hide progress bar on collection page if no estimated specimens count
  • Loading branch information
adam-collins authored Oct 3, 2024
2 parents 0c2196f + 46b1ec1 commit 95acd75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grails-app/views/public/_progress.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ function setPercentAgeNumbers(totalBiocacheRecords, totalRecords) {
}
setProgress(percent);
} else {
// to update the speedo caption
setProgress(0);
// the progress bar doesn't make sense if there is no estimated speciemens count
$('#progress').hide();
}
}

Expand Down

0 comments on commit 95acd75

Please sign in to comment.