exempt news from hp
This commit is contained in:
parent
499b4d90b5
commit
736500a92a
1 changed files with 4 additions and 1 deletions
|
@ -337,6 +337,9 @@ export function GetLinksData(
|
||||||
rowData.push(LATEST_FROM_LBRY);
|
rowData.push(LATEST_FROM_LBRY);
|
||||||
if (!showPersonalizedChannels) rowData.push(TOP_CHANNELS);
|
if (!showPersonalizedChannels) rowData.push(TOP_CHANNELS);
|
||||||
}
|
}
|
||||||
(Object.values(all): any).map((row) => rowData.push(getHomepageRowForCat(row)));
|
// TODO: provide better method for exempting from homepage
|
||||||
|
(Object.values(all): any)
|
||||||
|
.filter((row) => !(isHomepage && row.name === 'news'))
|
||||||
|
.map((row) => rowData.push(getHomepageRowForCat(row)));
|
||||||
return rowData;
|
return rowData;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue