Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
EOLE
Zéphir
WebUI
Commits
b2399630
Commit
b2399630
authored
Jun 25, 2019
by
Matthieu Lamalle
Browse files
corrections
parent
f75ec6fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/pages/ServersPage/ServerApps.js
View file @
b2399630
...
...
@@ -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
}
`
}
...
...
src/pages/ServersPage/ServerDetail.js
View file @
b2399630
...
...
@@ -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
>
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment