Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jan
kresus
Commits
6fb93ab3
Commit
6fb93ab3
authored
Jun 11, 2016
by
ZeHiro
Browse files
Fix search update of component
parent
3db1a35a
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/components/operations/search.js
View file @
6fb93ab3
...
...
@@ -22,7 +22,9 @@ export default class SearchComponent extends React.Component {
shouldComponentUpdate
(
nextProps
,
nextState
)
{
return
this
.
state
.
showDetails
!==
nextState
.
showDetails
;
return
this
.
state
.
showDetails
!==
nextState
.
showDetails
||
this
.
state
.
dateLow
!==
nextState
.
dateLow
||
this
.
state
.
dateHigh
!==
nextState
.
dateHigh
;
}
initialState
()
{
...
...
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