Update dataset API helpers and fix display bugs
Requires backend#1650 (closed)
- Fixes various TypeScript errors that I only get in VSCode
- Simplifies the store action for
ListDatasetElements
and the API helpers to be more in line with the other Pinia refactorings - Fixes #1323 (closed)
- Fixes an issue with process datasets where the corpus of the dataset would not be displayed without refreshing
- Makes the dataset details display any set name that is found in
ListDatasetElements
but isn't inDataset.sets
, which could happen if you change the set names after adding elements, so that we still tell the truth