File tree 3 files changed +4
-3
lines changed
components/challenge-listing/Filters/ChallengeSearchBar
containers/challenge-listing
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ workflows:
244
244
filters :
245
245
branches :
246
246
only :
247
- - feature/private-spec
247
+ - free
248
248
# This is beta env for production soft releases
249
249
- " build-prod-beta " :
250
250
context : org-global
@@ -260,6 +260,7 @@ workflows:
260
260
branches :
261
261
only :
262
262
- develop
263
+ - search-whitespace
263
264
# Production builds are exectuted
264
265
# when PR is merged to the master
265
266
# Don't change anything in this configuration
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default function ChallengeSearchBar({
30
30
id = "search-challenges"
31
31
onInput = { ( e ) => {
32
32
const s = e . target . value ;
33
- onSearch ( s . trim ( ) ) ;
33
+ onSearch ( s ) ;
34
34
} }
35
35
placeholder = { placeholder }
36
36
type = "text"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export class Container extends React.Component {
23
23
filterState,
24
24
} = this . props ;
25
25
26
- setFilterState ( { ..._ . clone ( filterState ) , search : text } ) ;
26
+ setFilterState ( { ..._ . clone ( filterState ) , search : text . trim ( ) } ) ;
27
27
}
28
28
29
29
render ( ) {
You can’t perform that action at this time.
0 commit comments