aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-10-07 08:52:48 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-10-07 08:52:48 -0500
commit9dea3b01c4b8b6bd599ec1c7703c66c00ef58fff (patch)
treebbe0cecc9fc5f76e4eaa290d12032fa9982f2d34 /src
parentffdbde9621cd56aa08ec9c345380abd722e7c4a2 (diff)
downloadslskd-9dea3b01c4b8b6bd599ec1c7703c66c00ef58fff.tar.gz
add System navigation
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/App.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/web/src/components/App.js b/src/web/src/components/App.js
index d9c7cbb6..f8813820 100644
--- a/src/web/src/components/App.js
+++ b/src/web/src/components/App.js
@@ -12,6 +12,7 @@ import Browse from './Browse/Browse';
import Users from './Users/Users';
import Transfers from './Transfers/Transfers';
import Chat from './Chat/Chat';
+import System from './System/System';
import LoginForm from './LoginForm';
import {
@@ -198,6 +199,11 @@ class App extends Component {
href="https://github.com/slskd/slskd/releases">See Release Notes</Button>
</Modal.Actions>
</Modal>}
+ <Link to='system'>
+ <Menu.Item>
+ <Icon name='cogs'/>System
+ </Menu.Item>
+ </Link>
{session.isLoggedIn() && <Modal
trigger={
<Menu.Item>
@@ -220,6 +226,7 @@ class App extends Component {
<Route path='*/rooms' render={(props) => this.withTokenCheck(<Rooms {...props}/>)}/>
<Route path='*/uploads' render={(props) => this.withTokenCheck(<Transfers {...props} direction='upload'/>)}/>
<Route path='*/downloads' render={(props) => this.withTokenCheck(<Transfers {...props} direction='download'/>)}/>
+ <Route path='*/system' render={(props) => this.withTokenCheck(<System state={this.state.applicationState}/>)}/>
<Route path='*/' render={(props) => this.withTokenCheck(<Search {...props}/>)}/>
</Switch>
</Sidebar.Pusher>