User story:
- As someone who wants to translate content
- When I don't want to translate any of the suggested articles, and discard them
- Then the "refresh suggestions" function should be called automatically, rather than needing to manually refresh
The refresh button internally calls the function refreshPublicLists
The discard button internally calls the function discardSuggestion
New logic should be added to the discardSuggestion function to check if there are any remaining suggestions. If there are none, the refresh function should be called
To check if there are no remaining suggestions
$('.cx-slitem').length === 0