From 9636020d6cb0dd5392289fcc7ff9053d53738641 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 3 Feb 2025 12:11:50 +0900 Subject: [PATCH] fix: prevent including extra params in repository name on GitHub Card fix #3171 --- components/status/StatusPreviewGitHub.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/status/StatusPreviewGitHub.vue b/components/status/StatusPreviewGitHub.vue index 30a34bec..77dcd0ce 100644 --- a/components/status/StatusPreviewGitHub.vue +++ b/components/status/StatusPreviewGitHub.vue @@ -69,7 +69,7 @@ const meta = computed(() => { user, titleUrl: `https://github.com/${user}${repo ? `/${repo}` : ''}`, details, - repo: repo.split('?')[0], + repo: repo?.split('?')[0], number, avatar, author: author