Skip to content
Next
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
799
Merge Requests
48
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
1b1be1f4
Commit
1b1be1f4
authored
1 hour ago
by
Emiliano Balbuena
Browse files
Options
Download
(fix): Unwanted console.log
parent
9de57d28
1 merge request
!651
(fix): Mass NSFW XHR trigger when admins view posts
Pipeline
#95374978
failed with stages
in 7 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/app/common/components/post-menu/post-menu.component.ts
View file @
1b1be1f4
...
...
@@ -345,7 +345,6 @@ export class PostMenuComponent implements OnInit {
}
onNSFWSelected
(
reasons
:
Array
<
{
label
;
value
;
selected
}
>
)
{
console
.
log
(
'
yo
'
);
const
nsfw
=
reasons
.
map
(
reason
=>
reason
.
value
);
this
.
client
.
post
(
`api/v2/admin/nsfw/
${
this
.
entity
.
guid
}
`
,
{
nsfw
});
this
.
entity
.
nsfw
=
nsfw
;
...
...
This diff is collapsed.
Please
register
or
sign in
to comment