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
Nicolas Frandeboeuf
kresus
Commits
89d73c8b
Commit
89d73c8b
authored
May 21, 2017
by
Benjamin Bouvier
Browse files
[routing] Fix toggling of search details when the `show` argument is set to false;
parent
ff506338
Pipeline
#16187
passed with stage
in 3 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
client/store/ui.js
View file @
89d73c8b
...
...
@@ -68,7 +68,8 @@ function reduceSetSearchFields(state, action) {
function
reduceToggleSearchDetails
(
state
,
action
)
{
let
{
show
}
=
action
;
show
=
show
||
!
getDisplaySearchDetails
(
state
);
if
(
typeof
show
!==
'
boolean
'
)
show
=
!
getDisplaySearchDetails
(
state
);
return
u
.
updateIn
(
'
displaySearchDetails
'
,
show
,
state
);
}
...
...
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