mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-20 13:06:57 +00:00
Merge pull request #4 from lidarr/fix/AddArtistExisting
Fixes Existing Detection In Search Results when adding artist
This commit is contained in:
commit
db62c15c17
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue