diff options
author | Emiliano Ciavatta | 2020-12-25 13:48:11 +0000 |
---|---|---|
committer | Emiliano Ciavatta | 2020-12-25 13:48:11 +0000 |
commit | f8f3c91a8722e0cb5cc78f21ad163e8165ac5979 (patch) | |
tree | b6319bc00d886bf0c3a4aeaff19cae378a9cf47a /frontend/src/components/pages | |
parent | ad0c27ae1fde7d24c24a34a7c305edeb0ea9974e (diff) |
Add stats page, add /api/statistics/totals
Diffstat (limited to 'frontend/src/components/pages')
-rw-r--r-- | frontend/src/components/pages/MainPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/pages/MainPage.js b/frontend/src/components/pages/MainPage.js index 6058edc..f005f44 100644 --- a/frontend/src/components/pages/MainPage.js +++ b/frontend/src/components/pages/MainPage.js @@ -21,13 +21,13 @@ import "react-reflex/styles.css" import {Route, Switch} from "react-router-dom"; import Filters from "../dialogs/Filters"; import Header from "../Header"; -import ConfigPane from "../panels/ConfigPane"; import Connections from "../panels/ConnectionsPane"; import MainPane from "../panels/MainPane"; import PcapsPane from "../panels/PcapsPane"; import RulesPane from "../panels/RulesPane"; import SearchPane from "../panels/SearchPane"; import ServicesPane from "../panels/ServicesPane"; +import StatsPane from "../panels/StatsPane"; import StreamsPane from "../panels/StreamsPane"; import Timeline from "../Timeline"; import "./MainPage.scss"; @@ -76,7 +76,7 @@ class MainPage extends Component { <Route path="/pcaps" children={<PcapsPane/>}/> <Route path="/rules" children={<RulesPane/>}/> <Route path="/services" children={<ServicesPane/>}/> - <Route path="/config" children={<ConfigPane/>}/> + <Route path="/stats" children={<StatsPane/>}/> <Route exact path="/connections/:id" children={<StreamsPane connection={this.state.selectedConnection}/>}/> <Route children={<MainPane version={this.props.version}/>}/> |