No tracks appear on library tracks page
Steps to reproduce
- Visit a library's details page
- Select "Tracks" at the top of the screen
What happens?
No tracks appear. A placeholder shows saying "This library is empty, you should upload something in it!"
What is expected?
The library's tracks should appear
Context
Funkwhale version(s) affected: 1.2.1+git.e28286c1
I think this has something to do with the fetchData
method in the tracks table. No data is being fetched when loading the table, which makes me think something isn't configured correctly there. Most other implementations of the track table pass tracks
as a prop, but here it's expected to fetch the tracks using the library ID as a filter.