ccmbioinfo / osmp

One-Sided Matching Portal
6 stars 1 forks source link

React: Cached search results do not update table size correctly #285

Closed frewmack closed 2 years ago

frewmack commented 2 years ago

If a gene search is displayed from the cache after a gene search with fewer variants, the table will not increase in size to display all the unique variants of the cached gene search.

Steps to reproduce:

  1. Search for a gene with a larger number of unique variants (eg. ABHD16A on remote-test, 26 variants)
  2. Search for a gene with a smaller number of unique variants than step 1 (eg. FAIM on remote-test, 4 variants)
  3. Search for the same gene from step 1 again. The cached result will populate the table, however there will only be as many rows as there were for step 2, despite there being more variants to display.