Open 8fuhst opened 1 year ago
When a search term returns exactly 12 (or a multiple of 12) results, the "Load more" Button is disabled/hidden.
When a search term returns exactly 12 (or a multiple of 12) results, the "Load more" Button is enabled. When pressed it loads the same 12 songs again.
Make a more sophisticated check than just checking if the response contains exactly 12 songs in src/SiteContent.vue.
Expected Behavior
When a search term returns exactly 12 (or a multiple of 12) results, the "Load more" Button is disabled/hidden.
Actual Behavior
When a search term returns exactly 12 (or a multiple of 12) results, the "Load more" Button is enabled. When pressed it loads the same 12 songs again.
Where to fix
Make a more sophisticated check than just checking if the response contains exactly 12 songs in src/SiteContent.vue.