summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/SkNote.vue
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-06-08 17:30:56 +0100
committerdakkar <dakkar@thenautilus.net>2024-06-12 17:47:25 +0100
commit58c77c4d5cc33d9909087ff3cead1e86e59e438f (patch)
tree0fb23ac79e430beacd9c5f57c1064030279de010 /packages/frontend/src/components/SkNote.vue
parenttweak the rate limit for `notes/create` (diff)
downloadsharkey-58c77c4d5cc33d9909087ff3cead1e86e59e438f.tar.gz
sharkey-58c77c4d5cc33d9909087ff3cead1e86e59e438f.tar.bz2
sharkey-58c77c4d5cc33d9909087ff3cead1e86e59e438f.zip
fix accesses to `canRenote`
Diffstat (limited to 'packages/frontend/src/components/SkNote.vue')
-rw-r--r--packages/frontend/src/components/SkNote.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/SkNote.vue b/packages/frontend/src/components/SkNote.vue
index 3c5a1baffc..867e9106de 100644
--- a/packages/frontend/src/components/SkNote.vue
+++ b/packages/frontend/src/components/SkNote.vue
@@ -335,7 +335,7 @@ let renoting = false;
const keymap = {
'r': () => reply(true),
'e|a|plus': () => react(true),
- '(q)': () => { if (canRenote && !renoted.value && !renoting) { renoting = true; renote(appearNote.value.visibility) } },
+ '(q)': () => { if (canRenote.value && !renoted.value && !renoting) { renoting = true; renote(appearNote.value.visibility) } },
'up|k|shift+tab': focusBefore,
'down|j|tab': focusAfter,
'esc': blur,