aboutsummaryrefslogtreecommitdiff
path: root/src/components/extra_buttons/extra_buttons.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/components/extra_buttons/extra_buttons.js
parentfa5d35523dd081b6948d38325374cac5707b7868 (diff)
Add ability to detect whether backend supports editing
Diffstat (limited to 'src/components/extra_buttons/extra_buttons.js')
-rw-r--r--src/components/extra_buttons/extra_buttons.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js
index 11fe3235..92eb63b0 100644
--- a/src/components/extra_buttons/extra_buttons.js
+++ b/src/components/extra_buttons/extra_buttons.js
@@ -123,7 +123,8 @@ const ExtraButtons = {
},
isEdited () {
return this.status.edited_at !== null
- }
+ },
+ editingAvailable () { return this.$store.state.instance.editingAvailable }
}
}