Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ICAT
Datahub
Commits
c2e68462
Commit
c2e68462
authored
Jun 01, 2021
by
Marjolaine Bodin
Browse files
#498
fix grouped command lines display
parent
d150df6f
Pipeline
#47823
passed with stage
in 2 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/Logbook/List/Event.js
View file @
c2e68462
...
...
@@ -47,6 +47,11 @@ function Event(props) {
<
/a
>
);
};
const
onHandleClick
=
()
=>
{
setCollapsed
(
!
collapsed
);
};
return
events
.
map
((
event
,
index
)
=>
(
<
tr
key
=
{
index
}
style
=
{{
backgroundColor
:
'
#f0f0f6
'
}}
>
<
td
...
...
@@ -90,7 +95,7 @@ function Event(props) {
backgroundColor
:
'
#f8f8f8
'
,
cursor
:
'
pointer
'
,
}}
onClick
=
{
setCollapsed
(
!
collapsed
)
}
onClick
=
{
onHandleClick
}
>
....
{
event
.
events
.
length
}
command
lines
more
<
/Label
>
...
...
Write
Preview
Supports
Markdown
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