Adding MinerModule

This commit is contained in:
Matias committed 2019-03-19 16:21:02 +01:00
1 parent b20bb2cfe4
commit 2db587ea12
5 files changed
+33 -9

No files matched your search

+5
View File
@@ -21,6 +21,7 @@ import KeyVault from '@superalgos/key-vault-client'
import FinancialBeings from '@advancedalgos/financial-beings-client'
import Operations from '@superalgos/operations-client'
import Logs from '@superalgos/logs-client'
import Miners from '@superalgos/miners-client'
export const auth = new Auth(
result => console.log('Authentication successful.'),
@@ -86,6 +87,10 @@ export const MasterApp = props => (
path='/logs'
render={props => <Logs {...props} auth={auth} />}
/>
<Route
path='/miners'
render={props => <Miners {...props} auth={auth} />}
/>
</Switch>
</Layout>
</MuiThemeProvider>
+12 -1
View File
@@ -73,6 +73,16 @@ const operationsMenus = {
]
}
const minersMenus = {
title: 'Miners',
to: '/miners',
icon: Home,
authenticated: false,
submenus: [
{ title: 'Report a Bug', to: 'https://github.com/Superalgos/minersClient/issues/new', icon: BugReport, externalLink: true }
]
}
// const financialBeingsMenus = {
// title: 'FBs',
// to: '/financial-beings',
@@ -89,7 +99,8 @@ const allMenus = [
eventsMenus,
// financialBeingsMenus,
keyvaultMenus,
operationsMenus
operationsMenus,
minersMenus
]
export default allMenus