refactor(docs): filter bot in contributors list (#9967)

This commit is contained in:
btea 2022-09-29 11:15:38 +08:00 committed by GitHub
parent 19bd02b6bb
commit ede0736b1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,9 @@ import VpLink from '../common/vp-link.vue'
const props = defineProps<{ id: string }>()
const contributors = computed(() => _contributors[props.id])
const contributors = computed(() =>
_contributors[props.id]?.filter((c) => c.login !== 'renovate[bot]')
)
</script>
<template>