aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-10-18 09:21:56 -0500
committerJP Dillingham <jp@dillingham.me>2022-10-18 09:21:56 -0500
commit566efcee1ace6a962805c6da83547cff16b4760a (patch)
tree9ed46589925df7bea5cec62a72c08c9f76e46a5e /src
parent4131b8fecc012c3c0c510162a56ccb86ab56b56e (diff)
downloadslskd-566efcee1ace6a962805c6da83547cff16b4760a.tar.gz
add tab for data
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/System/System.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/web/src/components/System/System.js b/src/web/src/components/System/System.js
index 2be10f81..52fc1188 100644
--- a/src/web/src/components/System/System.js
+++ b/src/web/src/components/System/System.js
@@ -10,6 +10,7 @@ import Logs from './Logs';
import Options from './Options';
import Shares from './Shares';
import { Switch } from '../Shared';
+import Data from './Data';
const System = ({ state = {}, options = {} }) => {
const { params: { tab }, ...route } = useRouteMatch();
@@ -50,6 +51,15 @@ const System = ({ state = {}, options = {} }) => {
</Menu.Item>),
render: () => <Tab.Pane><Shares state={state.shares}/></Tab.Pane>,
},
+ {
+ route: 'data',
+ menuItem: {
+ key: 'data',
+ icon: 'database',
+ content: 'Data',
+ },
+ render: () => <Tab.Pane className='full-height'><Data/></Tab.Pane>,
+ },
{
route: 'logs',
menuItem: {