Skip to content
Snippets Groups Projects
Commit f871ae97 authored by Ben's avatar Ben Committed by Xander Miller
Browse files

[Sprint/QuietQuail](fix): Ensure already set NSFW values are taken into account when posting #2161

parent 8e222112
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,12 @@ export class NSFWSelectorComponent {
private storage: Storage
) {}
ngOnInit() {
if (this.service.reasons) {
this.service.reasons.map(r => this.toggle(r.value));
}
}
get service() {
switch (this.serviceRef) {
case 'editing':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment