Merge pull request 'Fix sensitive by default option' (#443) from norm/akkoma-fe:fix-sensitive into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/443 Reviewed-by: Oneric <oneric@noreply.akkoma>
This commit is contained in:
commit
55dff3a9bd
2 changed files with 2 additions and 2 deletions
|
|
@ -513,7 +513,7 @@ const PostStatusForm = {
|
|||
addMediaFile (fileInfo) {
|
||||
this.newStatus.files.push(fileInfo)
|
||||
|
||||
if (this.$store.getters.mergedConfig.sensitiveIfSubject && this.newStatus.spoilerText !== '') {
|
||||
if (this.$store.getters.mergedConfig.sensitiveIfSubject && this.newStatus.spoilerText !== '' || !!this.$store.getters.mergedConfig.sensitiveByDefault) {
|
||||
this.newStatus.nsfw = true
|
||||
}
|
||||
this.$emit('resize', { delayed: true })
|
||||
|
|
|
|||
|
|
@ -728,7 +728,7 @@
|
|||
"security": "Security",
|
||||
"security_tab": "Security",
|
||||
"sensitive_by_default": "Mark posts as sensitive by default",
|
||||
"sensitive_if_subject": "Automatically mark images as sensitive if a content warning is specified",
|
||||
"sensitive_if_subject": "Automatically mark post as sensitive if a content warning is specified",
|
||||
"set_new_avatar": "Set new avatar",
|
||||
"set_new_mascot": "Set new mascot",
|
||||
"set_new_profile_background": "Set new profile background",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue