From 44502c9c03aa1a33df0e76276545f1cb94e9ef8e Mon Sep 17 00:00:00 2001 From: Yongfeng LI Date: Fri, 12 Jan 2018 17:42:28 +0800 Subject: [PATCH] show settings --- src/features/app/components/Main/Main.jsx | 9 ++++++++- .../components/SecondaryNavigation/SecondaryNavigation.jsx | 12 ++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/features/app/components/Main/Main.jsx b/src/features/app/components/Main/Main.jsx index e3efa10..c05dc10 100644 --- a/src/features/app/components/Main/Main.jsx +++ b/src/features/app/components/Main/Main.jsx @@ -3,7 +3,7 @@ import styles from './Main.scss' import { Link } from 'react-router' import { connect } from 'react-redux' import actions from 'actions' -import { Navigation } from '../' +import { Navigation, SecondaryNavigation } from '../' class Main extends React.Component { @@ -30,6 +30,13 @@ class Main extends React.Component { + + + + + + {this.props.showDropwdown && } + diff --git a/src/features/app/components/SecondaryNavigation/SecondaryNavigation.jsx b/src/features/app/components/SecondaryNavigation/SecondaryNavigation.jsx index 8218e3d..dc92e8b 100644 --- a/src/features/app/components/SecondaryNavigation/SecondaryNavigation.jsx +++ b/src/features/app/components/SecondaryNavigation/SecondaryNavigation.jsx @@ -23,12 +23,12 @@ class SecondaryNavigation extends React.Component {