From 3ba41b90b84a565a4c0d35f11585b9af969f13b1 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Tue, 27 May 2025 17:32:53 +0800 Subject: [PATCH] fix(theme): ensure friends description from user --- theme/src/client/components/VPFriends.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme/src/client/components/VPFriends.vue b/theme/src/client/components/VPFriends.vue index 16c42720..545b9711 100644 --- a/theme/src/client/components/VPFriends.vue +++ b/theme/src/client/components/VPFriends.vue @@ -7,7 +7,7 @@ import { computed } from 'vue' import { useData, useEditLink } from '../composables/index.js' const editLink = useEditLink() -const { frontmatter: matter } = useData<'friends'>() +const { frontmatter: matter, page } = useData<'friends'>() const list = computed(() => matter.value.list || []) const groups = computed(() => matter.value.groups || []) @@ -20,7 +20,7 @@ const groups = computed(() => matter.value.groups || [])

{{ matter.title || 'My Friends' }}

-

+

{{ matter.description }}