From 24859251dceecf42fff03df9bc3f7592015e6d03 Mon Sep 17 00:00:00 2001 From: Z Date: Sun, 3 Nov 2019 14:16:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E7=AB=99=E6=A0=8F=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=83=AD=E9=97=A8tag=E6=A6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mastodon/features/ui/components/columns_area.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/javascript/mastodon/features/ui/components/columns_area.js b/app/javascript/mastodon/features/ui/components/columns_area.js index 8a4e89b3d..7bfb0b8ec 100644 --- a/app/javascript/mastodon/features/ui/components/columns_area.js +++ b/app/javascript/mastodon/features/ui/components/columns_area.js @@ -31,6 +31,8 @@ import NavigationPanel from './navigation_panel'; import detectPassiveEvents from 'detect-passive-events'; import { scrollRight } from '../../../scroll'; +import TrendsContainer from '../../getting_started/containers/trends_container'; + const componentMap = { 'COMPOSE': Compose, 'HOME': HomeTimeline, @@ -157,8 +159,13 @@ class ColumnsArea extends ImmutablePureComponent { React.cloneElement(this.props.children) : ; + console.log(link.props); return (
+ { + link.props['data-preview-title-id'] == 'column.community' && + + } {view}
);