You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2025/10/12 07:11:22 UTC

(echarts-handbook) branch master updated: fix: some existing docs are missing contributors info. enable them to render.

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 <su...@gmail.com>
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org