Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLASweb
Commits
852decd6
Commit
852decd6
authored
May 16, 2019
by
Steffen Vogel
🎅🏼
Browse files
fix eslint warnings
parent
59514970
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/components/editable-header.js
View file @
852decd6
...
...
@@ -85,8 +85,8 @@ class EditableHeader extends React.Component {
<
FormControl
type
=
'
text
'
bsSize
=
'
large
'
value
=
{
this
.
state
.
title
}
onChange
=
{
this
.
onChange
}
style
=
{
editStyle
}
autoFocus
/>
<
/form
>
<
a
onClick
=
{
this
.
save
}
><
Icon
icon
=
'
check
'
style
=
{
iconStyle
}
/></
a
>
<
a
onClick
=
{
this
.
cancel
}
><
Icon
icon
=
'
times
'
style
=
{
iconStyle
}
/></
a
>
<
a
href
=
{
'
#
'
}
onClick
=
{
this
.
save
}
><
Icon
icon
=
'
check
'
style
=
{
iconStyle
}
/></
a
>
<
a
href
=
{
'
#
'
}
onClick
=
{
this
.
cancel
}
><
Icon
icon
=
'
times
'
style
=
{
iconStyle
}
/></
a
>
<
/div>
;
}
...
...
@@ -95,7 +95,7 @@ class EditableHeader extends React.Component {
{
this
.
state
.
title
}
<
/h1
>
<
a
onClick
=
{
this
.
edit
}
><
Icon
icon
=
'
edit
'
style
=
{
iconStyle
}
/></
a
>
<
a
href
=
{
'
#
'
}
onClick
=
{
this
.
edit
}
><
Icon
icon
=
'
edit
'
style
=
{
iconStyle
}
/></
a
>
<
/div>
;
}
}
...
...
src/components/table.js
View file @
852decd6
...
...
@@ -74,7 +74,7 @@ class CustomTable extends Component {
if
(
linkKey
&&
data
[
linkKey
]
!=
null
)
{
cell
.
push
(
<
Link
to
=
{
child
.
props
.
link
+
data
[
linkKey
]}
>
{
content
}
<
/Link>
)
;
}
else
if
(
child
.
props
.
clickable
)
{
cell
.
push
(
<
a
onClick
=
{()
=>
child
.
props
.
onClick
(
index
)}
>
{
content
}
<
/a>
)
;
cell
.
push
(
<
a
href
=
{
#
}
onClick
=
{()
=>
child
.
props
.
onClick
(
index
)}
>
{
content
}
<
/a>
)
;
}
else
{
cell
.
push
(
content
);
}
...
...
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