summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components
diff options
context:
space:
mode:
authorMar0xy <marie@kaifa.ch>2023-10-13 21:44:10 +0200
committerMar0xy <marie@kaifa.ch>2023-10-13 21:44:10 +0200
commitcea2de6209cf01f91e2ec0c8228f58802028447b (patch)
tree2f49df972be7992da98a83bb5d3980c06b4a6b0a /packages/frontend/src/components
parentupd: only allow one renote (diff)
downloadsharkey-cea2de6209cf01f91e2ec0c8228f58802028447b.tar.gz
sharkey-cea2de6209cf01f91e2ec0c8228f58802028447b.tar.bz2
sharkey-cea2de6209cf01f91e2ec0c8228f58802028447b.zip
fix rocket-launcher
Diffstat (limited to 'packages/frontend/src/components')
-rw-r--r--packages/frontend/src/components/MkNoteDetailed.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue
index 633b12aaa5..1479c8fbe2 100644
--- a/packages/frontend/src/components/MkNoteDetailed.vue
+++ b/packages/frontend/src/components/MkNoteDetailed.vue
@@ -277,7 +277,7 @@ const conversation = ref<Misskey.entities.Note[]>([]);
const replies = ref<Misskey.entities.Note[]>([]);
const canRenote = computed(() => ['public', 'home'].includes(appearNote.visibility) || appearNote.userId === $i.id);
-if ($i){
+if ($i) {
os.api("notes/renotes", {
noteId: appearNote.id,
userId: $i.id,
@@ -349,7 +349,7 @@ function renote(viaKeyboard = false) {
if (appearNote.channel) {
items = items.concat([{
text: i18n.ts.inChannelRenote,
- icon: 'ph-rocket-launcher ph-bold ph-lg',
+ icon: 'ph-rocket-launch ph-bold ph-lg',
action: () => {
const el = renoteButton.value as HTMLElement | null | undefined;
if (el) {