Commit b2399630 authored by Matthieu Lamalle's avatar Matthieu Lamalle
Browse files

corrections

parent f75ec6fa
......@@ -23,8 +23,6 @@ class ServerApps extends React.Component {
return Object.keys(categories).map(categoryName => {
const apps = categories[categoryName];
const nodes = apps.map(app => {
console.log(peered)
console.log(app.category)
if ((peered === undefined || Object.keys(peered).length === 0) && app.category === 'actions'){return}
return (
<ListItem key={`app-${app.name}`}
......
......@@ -151,9 +151,12 @@ class ServerDetail extends React.Component {
peered={server.serverenvironment}
onAppClick={this.onAppClick} />
</GridListTile>
<GridListTile cols={2}>
<EnvironmentData environment={server.serverenvironment} lastpeerconnection={server.lastpeerconnection} />
</GridListTile>
{server.serverenvironment &&
<GridListTile cols={2}>
<EnvironmentData environment={server.serverenvironment} lastpeerconnection={server.lastpeerconnection} />
</GridListTile>
}
</GridList>
</div>
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment