Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Mobile
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
156
Issues
156
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
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
78c8b86e
Commit
78c8b86e
authored
8 hours ago
by
Juan Manuel Solaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat) ability to share blogs
parent
6b053089
chore/update-blogs
1 merge request
!375
WIP: Update Blogs
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
BlogsViewScreen.js
src/blogs/BlogsViewScreen.js
+4
-1
No files found.
src/blogs/BlogsViewScreen.js
View file @
78c8b86e
...
...
@@ -189,7 +189,7 @@ export default class BlogsViewScreen extends Component {
}
getActionSheet
()
{
let
options
=
[
i18n
.
t
(
'
report
'
),
i18n
.
t
(
'
cancel
'
)
];
let
options
=
[
i18n
.
t
(
'
share
'
),
i18n
.
t
(
'
report
'
),
i18n
.
t
(
'
cancel
'
)
];
if
(
featuresService
.
has
(
'
allow-comments-toggle
'
))
{
options
.
push
(
this
.
props
.
blogsView
.
blog
.
allow_comments
?
i18n
.
t
(
'
disableComments
'
)
:
i18n
.
t
(
'
enableComments
'
));
}
...
...
@@ -209,6 +209,9 @@ export default class BlogsViewScreen extends Component {
async
handleActionSheetSelection
(
option
)
{
switch
(
option
)
{
case
i18n
.
t
(
'
share
'
):
this
.
share
():
break
;
case
i18n
.
t
(
'
report
'
):
this
.
props
.
navigation
.
navigate
(
'
Report
'
,
{
entity
:
this
.
props
.
blogsView
.
blog
});
break
;
...
...
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