Add ability to detect whether backend supports editing

This commit is contained in:
Sean King 2022-06-21 17:44:04 -06:00
commit f56298adbd
No known key found for this signature in database
GPG key ID: 510C52BACD6E7257
5 changed files with 8 additions and 5 deletions

View file

@ -94,6 +94,7 @@ export default {
return this.$store.getters.mergedConfig.alwaysShowNewPostButton || this.layoutType === 'mobile'
},
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
editingAvailable () { return this.$store.state.instance.editingAvailable },
shoutboxPosition () {
return this.$store.getters.mergedConfig.alwaysShowNewPostButton || false
},