"Download ZIP" button active till "Accessesions" aren't loaded
Precondition: User should be on the site for the first time.
Steps to reproduce:
- Go to "https://sandbox.genesys-pgr.org/a" as registered user.
- Click "Download ZIP" button.
- In the opened popup window click "Start download"
Expected result: "Download MCPD" and "Download ZIP" should be disabled till accessions was loading, and numbers of accessions more than 200,000.
Actual result: Page "https://api.sandbox.genesys-pgr.org/api/v1/acn/download" is opened.
Also make sure that "Download KML" button on the "MAP" tab disabled till numbers of accessions more than 200,000.
And if user click "Download" button then he get HTTP ERROR 500.