fix(settings): 🐛 Fixed an issue where we were not displaying the excluded keyworks correctly in the TheMovieDbSettings page

pull/4457/merge
tidusjar 3 years ago
parent 5832133e00
commit d3b3316cba

@ -55,9 +55,10 @@ export class TheMovieDbComponent implements OnInit {
this.excludedKeywords.forEach(key => {
this.tmdbService.getKeyword(key.id).subscribe(keyResult => {
this.excludedKeywords.filter((val, idx) => {
val.name = keyResult.name;
})
var keyToUpdate = this.excludedKeywords.filter((val) => {
return val.id == key.id;
})[0];
keyToUpdate.name = keyResult.name;
});
});

Loading…
Cancel
Save