Add configuration option to enable click-through content warnings
This commit is contained in:
parent
ab86e87e85
commit
b0cf050797
4 changed files with 16 additions and 8 deletions
|
@ -29,7 +29,7 @@ const Status = {
|
|||
preview: null,
|
||||
showPreview: false,
|
||||
showingTall: false,
|
||||
showingContentWarningContent: false
|
||||
showingContentWarningContent: false
|
||||
}),
|
||||
computed: {
|
||||
muteWords () {
|
||||
|
@ -93,7 +93,10 @@ const Status = {
|
|||
return 'small'
|
||||
}
|
||||
return 'normal'
|
||||
}
|
||||
},
|
||||
clickThroughContentWarningsEnabled () {
|
||||
return this.$store.state.config.clickThroughContentWarningsEnabled
|
||||
},
|
||||
},
|
||||
components: {
|
||||
Attachment,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue