Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Mobile
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
209
Merge Requests
12
Security & Compliance
Packages
Analytics
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Commits
fd1c24f4
Commit
fd1c24f4
authored
19 hours ago
by
Juan Manuel Solaro
Browse files
Options
Download
(fix) tapping in comment should not crash
parent
52410dd8
new-navigation-designs
1 merge request
!504
WIP: New navigation Screens
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/newsfeed/activity/actions/CommentsAction.js
View file @
fd1c24f4
...
...
@@ -52,7 +52,8 @@ class CommentsAction extends Component {
openComments
=
()
=>
{
const
cantOpen
=
!
this
.
props
.
entity
.
allow_comments
&&
this
.
props
.
entity
[
'
comments:count
'
]
==
0
;
// TODO: fix
if
(
this
.
props
.
navigation
.
state
.
routeName
==
'
Activity
'
||
cantOpen
)
{
const
routes
=
this
.
props
.
navigation
.
dangerouslyGetState
().
routes
;
if
((
routes
&&
routes
[
routes
.
length
-
1
].
name
==
'
Activity
'
)
||
cantOpen
)
{
return
;
}
this
.
props
.
navigation
.
push
(
'
Activity
'
,
{
...
...
This diff is collapsed.
Please
register
or
sign in
to comment