Corpus table doesn't refresh when uploading corpus after using pagination
Follow-up to !75607 (comment 804803930)
If you upload a corpus, then change pages and upload another corpus the list view does not get reloaded. This is most likely due to an issue with Apollo caching.
A few possible solutions to look into:
- Change the
fetchPolicy
tocache-and-network
- This seems to work but then the loading icon does't show for some reason
🤔
- This seems to work but then the loading icon does't show for some reason
- Manually update the cache with
writeQuery
- Haven't tested this but I think it should work