This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a489a3  fix: some existing docs are missing contributors info. enable 
them to render.
2a489a3 is described below

commit 2a489a386c938de1d9fb7658a26be599a27527f5
Author: 100pah <[email protected]>
AuthorDate: Sun Oct 12 15:11:11 2025 +0800

    fix: some existing docs are missing contributors info. enable them to 
render.
---
 components/partials/Contributors.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/partials/Contributors.vue 
b/components/partials/Contributors.vue
index 70674d3..69d6bd8 100644
--- a/components/partials/Contributors.vue
+++ b/components/partials/Contributors.vue
@@ -65,7 +65,7 @@ export default defineComponent({
   },
   setup(props) {
     const contributors = computed(() => {
-      return allContributors[`contents/${props.path || 
''}.md`].map(contributor => {
+      return (allContributors[`contents/${props.path || ''}.md`] || 
[]).map(contributor => {
         return {
           id: contributor,
           avatar: contributorAvatar[contributor]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to