Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
盖剑秋
9 years ago
Commit
172fa26c096a3081c1ee840fac5a4c76f98f8446
1 parent
e7f3aab3
Fix ui bug on building owner. reviewed by redding.
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
js/community/components/subjectPost/SPHeaderCell.js
js/community/components/subjectPost/SubjectPost.js
js/community/components/subjectPost/SPHeaderCell.js
View file @
172fa26
...
...
@@ -16,7 +16,7 @@ export default class SPHeaderCell extends Component {
}
render
()
{
let
{
avatar
,
nickName
,
timeago
,
isOwner
,
sectionName
}
=
this
.
props
;
let
{
avatar
,
nickName
,
timeago
,
isOwner
,
sectionName
,
showLZ
}
=
this
.
props
;
return
(
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
top
}
>
...
...
@@ -24,7 +24,7 @@ export default class SPHeaderCell extends Component {
avatar
=
{
avatar
}
name
=
{
nickName
}
timeago
=
{
timeago
}
isOwner
=
{
isOwner
}
isOwner
=
{
isOwner
||
showLZ
}
onPressAvatar
=
{
this
.
props
.
onPressAvatar
}
/
>
<
SectionItem
...
...
js/community/components/subjectPost/SubjectPost.js
View file @
172fa26
...
...
@@ -353,8 +353,9 @@ export default class SubjectPost extends Component {
avatar
=
{
rowData
.
headIcon
}
nickName
=
{
rowData
.
nickName
}
timeago
=
{
rowData
.
timeago
}
isOwner
=
{
true
}
isOwner
=
{
rowData
.
LZ
}
sectionName
=
{
rowData
.
forumName
}
showLZ
=
{
true
}
onPressAvatar
=
{()
=>
{
this
.
props
.
onPressAvatar
&&
this
.
props
.
onPressAvatar
(
rowData
.
uid
);
}}
...
...
Please
register
or
login
to post a comment