Jamming project tracklist not loading on first search

Hello, I had just finished my jammming project but there is a bug that I can’t solve.
At the first time after accessing the page, when I click on search, it attempts fill the search results but then it goes blank, so after that, it works fine till I reload the page, so it fails again in filling the track list and as soon as I perform a new search it works fine.

my git repository is https://github.com/vsrromero/jammming.git