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
0841dc93
Commit
0841dc93
authored
Jan 29, 2018
by
chrisgarrity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tips modal
parent
4633086b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/views/tips/tips.jsx
src/views/tips/tips.jsx
+2
-3
No files found.
src/views/tips/tips.jsx
View file @
0841dc93
...
@@ -45,10 +45,9 @@ class Tips extends React.Component {
...
@@ -45,10 +45,9 @@ class Tips extends React.Component {
});
});
}
}
renderTTTTiles
()
{
renderTTTTiles
()
{
let
translatedTile
=
{};
return
Tiles
.
map
((
tile
,
key
)
=>
{
return
Tiles
.
map
((
tile
,
key
)
=>
{
translatedTile
=
{
const
translatedTile
=
{
activityLoc
:
this
.
props
.
intl
.
formatMessage
({
id
:
tile
.
activityLoc
}),
activityLoc
:
this
.
props
.
intl
.
formatMessage
({
id
:
tile
.
activityLoc
}),
bannerUrl
:
tile
.
bannerUrl
,
bannerUrl
:
tile
.
bannerUrl
,
description
:
this
.
props
.
intl
.
formatMessage
({
id
:
tile
.
description
}),
description
:
this
.
props
.
intl
.
formatMessage
({
id
:
tile
.
description
}),
...
@@ -66,7 +65,7 @@ class Tips extends React.Component {
...
@@ -66,7 +65,7 @@ class Tips extends React.Component {
{
...
translatedTile
}
{
...
translatedTile
}
/>
/>
);
);
});
// don't forget to pass 'this' into map function
});
}
}
render
()
{
render
()
{
return
(
return
(
...
...
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