[UI] Add Language to Manual Import, Fix Posters,Banners

This commit is contained in:
Qstick 2017-09-17 16:39:13 -04:00
parent 25eef250a4
commit 48d31523a5
19 changed files with 325 additions and 30 deletions

View file

@ -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);