summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkNoteSub.vue
diff options
context:
space:
mode:
authorMar0xy <marie@kaifa.ch>2023-10-19 22:23:27 +0200
committerMar0xy <marie@kaifa.ch>2023-10-19 22:23:27 +0200
commitfc5d75f8d4085c71d39890154b8fc6527736d84a (patch)
tree06199459b8fc8b8a2c586435f371580dfc59fb70 /packages/frontend/src/components/MkNoteSub.vue
parentrevert: blur in container (diff)
downloadsharkey-fc5d75f8d4085c71d39890154b8fc6527736d84a.tar.gz
sharkey-fc5d75f8d4085c71d39890154b8fc6527736d84a.tar.bz2
sharkey-fc5d75f8d4085c71d39890154b8fc6527736d84a.zip
fix: no translations on sub notes
Closes bug: transfem-org/Sharkey#89
Diffstat (limited to 'packages/frontend/src/components/MkNoteSub.vue')
-rw-r--r--packages/frontend/src/components/MkNoteSub.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue
index 83c91e34ed..7cf5d1abfe 100644
--- a/packages/frontend/src/components/MkNoteSub.vue
+++ b/packages/frontend/src/components/MkNoteSub.vue
@@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkCwButton v-model="showContent" :note="note"/>
</p>
<div v-show="note.cw == null || showContent">
- <MkSubNoteContent :class="$style.text" :note="note"/>
+ <MkSubNoteContent :class="$style.text" :note="note" :translating="translating" :translation="translation"/>
</div>
</div>
<footer :class="$style.footer">
@@ -121,7 +121,7 @@ const props = withDefaults(defineProps<{
const el = shallowRef<HTMLElement>();
const muted = ref($i ? checkWordMute(props.note, $i, $i.mutedWords) : false);
-const translation = ref(null);
+const translation = ref<any>(null);
const translating = ref(false);
const isDeleted = ref(false);
const renoted = ref(false);