Adds system status tab to the Help menu

This commit is contained in:
Vlad
2017-12-02 20:30:31 -05:00
parent aa4d78b1c9
commit 4926267e36
5 changed files with 118 additions and 9 deletions

View File

@@ -5,15 +5,20 @@ import MailPoet from 'mailpoet';
const tabs = [
{
name: 'knowledgeBase',
label: MailPoet.I18n.t('tabKnowledgeBaseTitle'),
link: '/knowledgeBase',
name: 'systemStatus',
label: MailPoet.I18n.t('tabSystemStatusTitle'),
link: '/systemStatus',
},
{
name: 'systemInfo',
label: MailPoet.I18n.t('tabSystemInfoTitle'),
link: '/systemInfo',
},
{
name: 'knowledgeBase',
label: MailPoet.I18n.t('tabKnowledgeBaseTitle'),
link: '/knowledgeBase',
},
];
function Tabs(props) {
@@ -40,6 +45,6 @@ function Tabs(props) {
}
Tabs.propTypes = { tab: React.PropTypes.string };
Tabs.defaultProps = { tab: 'knowledgeBase' };
Tabs.defaultProps = { tab: 'systemStatus' };
module.exports = Tabs;