Skip to content
Snippets Groups Projects

[Sprint/InterestingIguana](bug): NSFW reason was not saving #1486

Merged Ben requested to merge fix/nsfw-reason-save-1486 into master
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -367,7 +367,10 @@ export class Activity implements OnInit {
@@ -367,7 +367,10 @@ export class Activity implements OnInit {
}
}
onNSWFSelections(reasons: Array<{ value, label, selected}>) {
onNSWFSelections(reasons: Array<{ value, label, selected}>) {
this.attachment.setNSFW(reasons);
if (this.attachment.has()) {
 
this.attachment.setNSFW(reasons);
 
}
 
this.activity.nsfw = reasons.map(reason => reason.value);
}
}
isUnlisted() {
isUnlisted() {
Loading