Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Mobile
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
181
Issues
181
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Commits
a23da108
Commit
a23da108
authored
14 minutes ago
by
Martin Santangelo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(chore) small code fixes and optimizations
parent
2800a778
master
No related merge requests found
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
CommentModel.js
src/comments/CommentModel.js
+0
-1
UserAutocomplete.js
src/common/components/UserAutocomplete.js
+2
-0
GroupViewScreen.js
src/groups/GroupViewScreen.js
+4
-4
No files found.
src/comments/CommentModel.js
View file @
a23da108
...
...
@@ -31,7 +31,6 @@ export default class CommentModel extends ActivityModel {
buildCommentsStore
(
parent
)
{
if
(
this
.
expanded
&&
!
this
.
comments
)
{
console
.
log
(
'BUILD STORE FOR '
+
this
.
description
)
this
.
comments
=
commentsStoreProvider
.
get
();
this
.
comments
.
setParent
(
this
);
this
.
parent
=
parent
;
...
...
This diff is collapsed.
Click to expand it.
src/common/components/UserAutocomplete.js
View file @
a23da108
...
...
@@ -181,6 +181,8 @@ export default class UserAutocomplete extends PureComponent {
*/
render
()
{
if
(
!
this
.
state
.
tag
)
return
null
;
const
users
=
this
.
renderUsers
();
return
(
...
...
This diff is collapsed.
Click to expand it.
src/groups/GroupViewScreen.js
View file @
a23da108
...
...
@@ -28,7 +28,7 @@ import colors from '../styles/Colors';
import
Tags
from
'../common/components/Tags'
;
import
CaptureFab
from
'../capture/CaptureFab'
;
import
GroupHeader
from
'./header/GroupHeader'
;
import
{
CommonStyle
}
from
'../styles/Common'
;
import
{
CommonStyle
as
CS
}
from
'../styles/Common'
;
import
CommentList
from
'../comments/CommentList'
;
import
NewsfeedList
from
'../newsfeed/NewsfeedList'
;
import
CenteredLoading
from
'../common/components/CenteredLoading'
;
...
...
@@ -204,9 +204,9 @@ export default class GroupViewScreen extends Component {
case
'desc'
:
const
description
=
entities
.
decodeHTML
(
group
.
group
.
briefdescription
).
trim
();
return
(
<
ScrollView
style
=
{
C
ommonStyle
.
backgroundLight
}
>
<
ScrollView
style
=
{
C
S
.
backgroundLight
}
>
{
header
}
<
View
style
=
{
C
ommonStyle
.
padding2x
}
>
<
View
style
=
{
C
S
.
padding2x
}
>
<
Tags
>
{
description
}
<
/Tags
>
<
/View
>
<
/ScrollView
>
...
...
@@ -325,7 +325,7 @@ export default class GroupViewScreen extends Component {
null
;
return
(
<
View
style
=
{
{
flex
:
1
}
}
>
<
View
style
=
{
CS
.
flexContainer
}
>
{
this
.
props
.
groupView
.
tab
===
'feed'
&&
<
CaptureFab
navigation
=
{
this
.
props
.
navigation
}
group
=
{
group
}
/>
}
{
this
.
getList
()}
{
memberActionSheet
}
...
...
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