aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorSean King <seanking2919@protonmail.com>2022-06-21 17:44:04 -0600
committerSean King <seanking2919@protonmail.com>2022-06-21 17:44:04 -0600
commitf56298adbd6fc4b30f759f58336f881e9ebfab65 (patch)
treec2fb70557983a4bc7cddd8f8cdc572d50ebfda2f /src/App.js
parentfa5d35523dd081b6948d38325374cac5707b7868 (diff)
Add ability to detect whether backend supports editing
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index af638a1c..f87b3962 100644
--- a/src/App.js
+++ b/src/App.js
@@ -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
},