mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
fix(settings): 🐛 Fixed an issue where we were not displaying the excluded keyworks correctly in the TheMovieDbSettings page
This commit is contained in:
parent
5832133e00
commit
d3b3316cba
1 changed files with 4 additions and 3 deletions
|
@ -55,9 +55,10 @@ export class TheMovieDbComponent implements OnInit {
|
||||||
|
|
||||||
this.excludedKeywords.forEach(key => {
|
this.excludedKeywords.forEach(key => {
|
||||||
this.tmdbService.getKeyword(key.id).subscribe(keyResult => {
|
this.tmdbService.getKeyword(key.id).subscribe(keyResult => {
|
||||||
this.excludedKeywords.filter((val, idx) => {
|
var keyToUpdate = this.excludedKeywords.filter((val) => {
|
||||||
val.name = keyResult.name;
|
return val.id == key.id;
|
||||||
})
|
})[0];
|
||||||
|
keyToUpdate.name = keyResult.name;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue