Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
3dd61cd1
Unverified
Commit
3dd61cd1
authored
Jan 31, 2018
by
Ray Schamp
Committed by
GitHub
Jan 31, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1794 from LLK/hotfix/shim-formsy
[Master] ES6: Fixes for IE
parents
51533bbf
cbc5bbd5
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
97 additions
and
4 deletions
+97
-4
src/views/search/search.jsx
src/views/search/search.jsx
+3
-4
static/js/polyfill.min.js
static/js/polyfill.min.js
+94
-0
No files found.
src/views/search/search.jsx
View file @
3dd61cd1
...
@@ -100,7 +100,7 @@ class Search extends React.Component {
...
@@ -100,7 +100,7 @@ class Search extends React.Component {
</
li
>
</
li
>
</
a
>
</
a
>
);
);
if
(
this
.
props
.
tab
===
type
)
{
if
(
this
.
state
.
tab
===
type
)
{
allTab
=
(
allTab
=
(
<
a
href=
{
`/search/${type}?q=${term}/`
}
>
<
a
href=
{
`/search/${type}?q=${term}/`
}
>
<
li
className=
"active"
>
<
li
className=
"active"
>
...
@@ -137,7 +137,7 @@ class Search extends React.Component {
...
@@ -137,7 +137,7 @@ class Search extends React.Component {
<
Grid
<
Grid
cards
cards
showAvatar
showAvatar
itemType=
{
this
.
props
.
tab
}
itemType=
{
this
.
state
.
tab
}
items=
{
this
.
state
.
loaded
}
items=
{
this
.
state
.
loaded
}
showFavorites=
{
false
}
showFavorites=
{
false
}
showLoves=
{
false
}
showLoves=
{
false
}
...
@@ -159,8 +159,7 @@ class Search extends React.Component {
...
@@ -159,8 +159,7 @@ class Search extends React.Component {
Search
.
propTypes
=
{
Search
.
propTypes
=
{
dispatch
:
PropTypes
.
func
,
dispatch
:
PropTypes
.
func
,
intl
:
intlShape
,
intl
:
intlShape
,
searchTerm
:
PropTypes
.
string
,
searchTerm
:
PropTypes
.
string
tab
:
PropTypes
.
string
};
};
const
mapStateToProps
=
state
=>
({
const
mapStateToProps
=
state
=>
({
...
...
static/js/polyfill.min.js
View file @
3dd61cd1
This diff is collapsed.
Click to expand it.
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