introduce basic system status page
This commit is contained in:
1 parent
218904ed88
commit
b11c508d77
8 files changed
+210
-9
No files matched your search
@@ -7,6 +7,7 @@ import Tab from '@material-ui/core/Tab';
|
||||
import AuthenticatedRoute from '../authentication/AuthenticatedRoute';
|
||||
import MenuAppBar from '../components/MenuAppBar';
|
||||
import OTASettings from '../containers/OTASettings';
|
||||
import SystemStatus from '../containers/SystemStatus';
|
||||
|
||||
class System extends Component {
|
||||
|
||||
@@ -22,7 +23,7 @@ class System extends Component {
|
||||
<Tab value="/system/ota" label="OTA Settings" />
|
||||
</Tabs>
|
||||
<Switch>
|
||||
<AuthenticatedRoute exact={true} path="/system/status" component={OTASettings} />
|
||||
<AuthenticatedRoute exact={true} path="/system/status" component={SystemStatus} />
|
||||
<AuthenticatedRoute exact={true} path="/system/ota" component={OTASettings} />
|
||||
<Redirect to="/system/status" />
|
||||
</Switch>
|
||||
|
||||
Reference in new issue
Block a user