Skip to content
GitLab
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
68b92c33
Commit
68b92c33
authored
Jun 08, 2021
by
Marjolaine Bodin
Browse files
#498
fix warnings console
parent
94adb3c9
Pipeline
#48186
passed with stage
in 2 minutes and 59 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/Breadcrumbs/BreadCrumbs.js
View file @
68b92c33
...
...
@@ -27,7 +27,9 @@ function BreadCrumbs(props) {
let
badges
=
''
;
if
(
item
.
badges
)
{
badges
=
item
.
badges
.
map
((
badge
)
=>
(
<>
{
badge
&&
<
Label
className
=
{
styles
.
badge
}
>
{
badge
}
<
/Label>}</
>
<
span
key
=
{
badge
}
>
{
badge
&&
<
Label
className
=
{
styles
.
badge
}
>
{
badge
}
<
/Label>
}
<
/span
>
));
}
return
(
...
...
src/components/Logbook/List/Event.js
View file @
68b92c33
...
...
@@ -39,7 +39,7 @@ function Event(props) {
<
a
href
=
{
`events?page=
${
page
}
#
${
event
.
_id
}
`
}
style
=
{{
fontWeight
:
'
bold
'
}}
class
=
"
text-muted
"
class
Name
=
"
text-muted
"
>
{
moment
(
getOriginalEvent
(
event
).
creationDate
).
format
(
moment
.
HTML5_FMT
.
TIME_SECONDS
...
...
src/components/Logbook/Menu/EventListMenu.js
View file @
68b92c33
...
...
@@ -234,7 +234,7 @@ function EventListMenu(props) {
<
/Nav
>
<
Nav
pullRight
>
<
NavItem
className
=
"
logbookNavItem
"
pullRight
>
<
NavItem
className
=
"
logbookNavItem
"
>
<
div
className
=
"
hidden-xs hidden-sm hidden-md
"
>
<
LogbookPager
activePage
=
{
activePage
}
...
...
src/containers/EventsPage.js
View file @
68b92c33
...
...
@@ -35,7 +35,7 @@ function EventsPage() {
const
edit
=
query
.
get
(
'
edit
'
);
const
search
=
query
.
get
(
'
search
'
);
const
page
=
query
.
get
(
'
page
'
)
||
1
;
const
page
=
parseInt
(
query
.
get
(
'
page
'
)
)
||
1
;
const
{
categoryTypes
}
=
useSelector
((
state
)
=>
state
.
logbook
);
const
investigation
=
useResource
(
InvestigationResource
.
detailShape
(),
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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