Open alexskr opened 1 year ago
It's funny because we resolved/discussed this issue just last week, see https://github.com/ontoportal-lirmm/bioportal_web_ui/issues/99
For now what we do at Agroportal is to hide the tabs classes, mappings, instances, schemes, collections,..., so that those calls are never sent.
For now, I can't really do a pull request about this small change because our two codes diverged too much. (see https://github.com/ncbo/bioportal_web_ui/pull/223)
UI doesn't gracefully handle accessing ontologies without submissions. Even though users might not see errors (unless they view the page with developer tools enabled in the browser) UI and API logs ERROR.
Ideally, UI should not make a bunch of API calls which would fail for ontologies that do not have any submissions
UI: