Swap tabs in help section

We decided to make the Knowledge Base tab the default one since it contains the information
which are easiest to understand for an user.

[MAILPOET-1457]
This commit is contained in:
Rostislav Wolny
2018-07-23 16:26:54 +02:00
parent 5f6fe1a7e5
commit a8bfadf157
2 changed files with 8 additions and 8 deletions

View File

@@ -21,11 +21,11 @@ if (container) {
ReactDOM.render((
<Router history={history}>
<Route path="/" component={App}>
<IndexRedirect to="systemStatus" />
<IndexRedirect to="knowledgeBase" />
{/* Pages */}
<Route path="knowledgeBase(/)**" params={{ tab: 'knowledgeBase' }} component={KnowledgeBase} />
<Route path="systemStatus(/)**" params={{ tab: 'systemStatus' }} component={SystemStatus} />
<Route path="systemInfo(/)**" params={{ tab: 'systemInfo' }} component={SystemInfo} />
<Route path="knowledgeBase(/)**" params={{ tab: 'knowledgeBase' }} component={KnowledgeBase} />
</Route>
</Router>
), container);