Fix sensitive by default option
Fixes https://akkoma.dev/AkkomaGang/akkoma-fe/issues/442
This commit is contained in:
parent
674a816453
commit
9c15db16a6
1 changed files with 1 additions and 1 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 })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue