From f56298adbd6fc4b30f759f58336f881e9ebfab65 Mon Sep 17 00:00:00 2001 From: Sean King Date: Tue, 21 Jun 2022 17:44:04 -0600 Subject: Add ability to detect whether backend supports editing --- src/App.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/App.js') 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 }, -- cgit v1.2.3-70-g09d2