mirror of
https://github.com/Readarr/Readarr.git
synced 2026-01-30 00:31:45 -05:00
Fixes Existing Detection on In Search Results
Fixes Existing Detection on In Search Results when adding a new artist
This commit is contained in:
@@ -97,7 +97,7 @@ var view = Marionette.ItemView.extend({
|
||||
},
|
||||
|
||||
_configureTemplateHelpers : function() {
|
||||
var existingArtist = ArtistCollection.where({ SpotifyId : this.model.get('spotifyId') });
|
||||
var existingArtist = ArtistCollection.where({ spotifyId : this.model.get('spotifyId') });
|
||||
|
||||
if (existingArtist.length > 0) {
|
||||
this.templateHelpers.existing = existingArtist[0].toJSON();
|
||||
|
||||
Reference in New Issue
Block a user