Bug 1526066 - Add perf improvements, design refinements, and bug fixes to Activity Stream r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D19152
This commit is contained in:
@@ -41,11 +41,11 @@ export const selectLayoutRender = createSelector(
|
||||
// Loops through all the components and adds a .data property
|
||||
// containing data from feeds
|
||||
components: row.components.map(component => {
|
||||
if (!component.feed || !feeds[component.feed.url]) {
|
||||
if (!component.feed || !feeds.data[component.feed.url]) {
|
||||
return component;
|
||||
}
|
||||
|
||||
return {...component, data: maybeInjectSpocs(feeds[component.feed.url].data, component.spocs)};
|
||||
return {...component, data: maybeInjectSpocs(feeds.data[component.feed.url].data, component.spocs)};
|
||||
}),
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user