mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 11:48:26 -07:00
[UI] Add Language to Manual Import, Fix Posters,Banners
This commit is contained in:
parent
25eef250a4
commit
48d31523a5
19 changed files with 325 additions and 30 deletions
|
@ -49,6 +49,12 @@ const releaseReducers = handleActions({
|
|||
const guid = payload.guid;
|
||||
const newState = Object.assign({}, state);
|
||||
const items = newState.items;
|
||||
|
||||
// Return early if there aren't any items (the user closed the modal)
|
||||
if (!items.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
const index = _.findIndex(items, { guid });
|
||||
const item = Object.assign({}, items[index], payload);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue