summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/global/I18n.vue
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/components/global/I18n.vue')
-rw-r--r--packages/frontend/src/components/global/I18n.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/global/I18n.vue b/packages/frontend/src/components/global/I18n.vue
index 9866e50958..1fad1ee9e6 100644
--- a/packages/frontend/src/components/global/I18n.vue
+++ b/packages/frontend/src/components/global/I18n.vue
@@ -46,6 +46,6 @@ const parsed = computed(() => {
});
const render = () => {
- return h(props.tag, parsed.value.map(x => typeof x === 'string' ? (props.textTag ? h(props.textTag, x) : x) : slots[x.arg]()));
+ return h(props.tag, parsed.value.map(x => typeof x === 'string' ? (props.textTag ? h(props.textTag, x) : x) : (slots as any)[x.arg]()));
};
</script>