Skip to content
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
400
Merge Requests
56
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
773e0cb3
Commit
773e0cb3
authored
1 hour ago
by
Ben Hayward
Browse files
Options
Download
Input the editing service
parent
90ceb322
fix/blog-media-nsfw-update-1936
1 merge request
!613
[Sprint/QuietQuail](fix): Blog & media edit updated to new nsfw system #1936
Pipeline
#100970889
passed with stages
in 45 minutes and 57 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
1 deletion
+2
-1
src/app/common/components/nsfw-selector/nsfw-selector.component.ts
View file @
773e0cb3
...
...
@@ -51,7 +51,6 @@ export class NSFWSelectorComponent {
}
@
Input
(
'
selected
'
)
set
selected
(
selected
:
Array
<
number
>
)
{
this
.
serviceRef
=
'
editing
'
;
for
(
let
i
in
this
.
service
.
reasons
)
{
this
.
service
.
reasons
[
i
].
selected
=
selected
.
indexOf
(
this
.
service
.
reasons
[
i
].
value
)
>
-
1
;
...
...
This diff is collapsed.
src/app/modules/blogs/edit/edit.html
View file @
773e0cb3
...
...
@@ -156,6 +156,7 @@
</div>
<m-nsfw-selector
service=
"editing"
(selectedChange)=
"onNSFWSelections($event)"
[selected]=
"editing && blog.nsfw != [] ? blog.nsfw : []"
>
...
...
This diff is collapsed.
src/app/modules/media/edit/edit.component.html
View file @
773e0cb3
...
...
@@ -72,6 +72,7 @@
</select>
</div>
<m-nsfw-selector
service=
"editing"
(selectedChange)=
"onNSFWSelections($event)"
[selected]=
"entity.nsfw"
>
...
...
This diff is collapsed.
Please
register
or
sign in
to comment