mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-10-02 08:10:36 +00:00
Fix custom homepage
This commit is contained in:
parent
5896e7b33d
commit
3d80c493d3
1 changed files with 2 additions and 4 deletions
|
@ -6,7 +6,6 @@ import SUPPORTED_LANGUAGES from 'constants/supported_languages';
|
||||||
import { parseURI } from 'util/lbryURI';
|
import { parseURI } from 'util/lbryURI';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { toCapitalCase } from 'util/string';
|
import { toCapitalCase } from 'util/string';
|
||||||
import { CUSTOM_HOMEPAGE } from 'config';
|
|
||||||
|
|
||||||
export type RowDataItem = {
|
export type RowDataItem = {
|
||||||
title: any,
|
title: any,
|
||||||
|
@ -167,7 +166,6 @@ export function GetLinksData(
|
||||||
}
|
}
|
||||||
|
|
||||||
// **************************************************************************
|
// **************************************************************************
|
||||||
// @if CUSTOM_HOMEPAGE='false'
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
const YOUTUBER_CHANNEL_IDS = [
|
const YOUTUBER_CHANNEL_IDS = [
|
||||||
|
@ -301,7 +299,7 @@ export function GetLinksData(
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isHomepage && !CUSTOM_HOMEPAGE) {
|
if (isHomepage && true) {
|
||||||
if (followedTags) {
|
if (followedTags) {
|
||||||
const TRENDING_FOR_TAGS = {
|
const TRENDING_FOR_TAGS = {
|
||||||
title: __('Trending For Your Tags'),
|
title: __('Trending For Your Tags'),
|
||||||
|
@ -336,7 +334,7 @@ export function GetLinksData(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!CUSTOM_HOMEPAGE) {
|
if (true) {
|
||||||
rowData.push(TOP_CONTENT_TODAY);
|
rowData.push(TOP_CONTENT_TODAY);
|
||||||
if (language !== 'en') {
|
if (language !== 'en') {
|
||||||
rowData.push(LANGUAGE_CATEGORY);
|
rowData.push(LANGUAGE_CATEGORY);
|
||||||
|
|
Loading…
Add table
Reference in a new issue