Onto-Med / top-frontend

JavaScript based frontend of the TOP Framework
MIT License
0 stars 1 forks source link

Fix ag grid for empty query results #343

Closed ChristophB closed 9 months ago

ChristophB commented 9 months ago

In case there are no query results it shows me "no results to show", is that working as indented or is it supposed to not show the menu option in the first place?

This is intended, otherwise we would have to parse the query result text and check that it is an integer and greater than zero. Of course we can do that, but it feels a bit hacky.

We also enable users to still view the metadata.csv file, even if the query is empty.