Collapse search dropdown after adding artist (no empty results shown)
This commit is contained in:
@@ -63,8 +63,7 @@ public class ArtistController {
|
||||
releaseGroupService.fetchAndCache(artist.mbid(), artist.name(), types);
|
||||
var allArtists = artistService.findAll();
|
||||
var listHtml = artistListTemplate.data("artists", allArtists).render();
|
||||
var emptySearch = searchResultsTemplate.data("artists", List.of()).render();
|
||||
return Response.ok(emptySearch + listHtml + feedReloadScript()).build();
|
||||
return Response.ok(listHtml + feedReloadScript()).build();
|
||||
}
|
||||
|
||||
@DELETE
|
||||
|
||||
Reference in New Issue
Block a user