AtlasOfLivingAustralia / collectory

Metadata registry for the Atlas
https://collections.ala.org.au
Other
0 stars 15 forks source link

Hide progress bar on collection page if no estimated specimens count #250

Closed matsbov closed 1 month ago

matsbov commented 2 months ago

On the Records tab of the collection page there is a progress bar showing how many of the total/estimated number of specimens in the collection are available in the LA portal. However, if the total number of specimens is not available it defaults to displaying the message "No records are available for viewing..." which is often wrong and produces a very confusing page where the left part says there are a lot of records available and the right part says no records:

Screenshot-2

This PR fixes this by simply hiding the progress bar if the total/estimated number of specimens is not available since the progress bar makes no sense at all in that case.

adam-collins commented 2 months ago

This is a data entry issue, closing.

See #251 for more details.

adam-collins commented 2 months ago

Reopening due to additional context. See issue for details.