aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/pages
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-10-12 18:08:45 +0000
committerEmiliano Ciavatta2020-10-12 18:08:45 +0000
commita44b70943ea4fce61261fc5fadf84a2a98fd2435 (patch)
treeb5425d07fa87e8aae027107a3e6008628167b9c9 /frontend/src/components/pages
parent828aeef9a7333aaabeaf9324a85aac56348b3805 (diff)
Add search pane on frontend
Diffstat (limited to 'frontend/src/components/pages')
-rw-r--r--frontend/src/components/pages/MainPage.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/components/pages/MainPage.js b/frontend/src/components/pages/MainPage.js
index 4632bbd..da57e1a 100644
--- a/frontend/src/components/pages/MainPage.js
+++ b/frontend/src/components/pages/MainPage.js
@@ -28,6 +28,8 @@ import ServicesPane from "../panels/ServicesPane";
import Header from "../Header";
import Filters from "../dialogs/Filters";
import MainPane from "../panels/MainPane";
+import SearchPane from "../panels/SearchPane";
+import FiltersDispatcher from "../filters/FiltersDispatcher";
class MainPage extends Component {
@@ -52,6 +54,7 @@ class MainPage extends Component {
</div>
<div className="pane details-pane">
<Switch>
+ <Route path="/searches" children={<SearchPane/>}/>
<Route path="/pcaps" children={<PcapsPane/>}/>
<Route path="/rules" children={<RulesPane/>}/>
<Route path="/services" children={<ServicesPane/>}/>
@@ -67,6 +70,8 @@ class MainPage extends Component {
<div className="page-footer">
<Timeline/>
</div>
+
+ <FiltersDispatcher />
</Router>
</div>
);