diff --git a/layouts/partials/dashboards.html b/layouts/partials/dashboards.html index 9a41cc88..11a2c03b 100644 --- a/layouts/partials/dashboards.html +++ b/layouts/partials/dashboards.html @@ -167,11 +167,14 @@
{{ .Name }}
month: 'short', day: 'numeric' }); - cardData.push({ card, updatedDate }); } else { - spanElement.textContent = 'No matching entry in EBI index'; + // In case there is no entry in the EBI file yet, + // we add a mock date for the reordering to keep working + spanElement.textContent = 'not yet available'; + updatedDate = new Date('1900-01-01'); + cardData.push({ card, updatedDate }); } });