From 1c0453a6687d6e9d995aaf5d2c8c21a96878c5a7 Mon Sep 17 00:00:00 2001 From: thehrz Date: Mon, 14 Aug 2023 10:08:04 +0800 Subject: [PATCH] pref(ChangeLog): add html_url --- src/components/ChangeLog.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/ChangeLog.vue b/src/components/ChangeLog.vue index f5db89d..6dc87ab 100644 --- a/src/components/ChangeLog.vue +++ b/src/components/ChangeLog.vue @@ -2,6 +2,7 @@ interface Commit { sha: string created: string + html_url: string commit: { message: string } @@ -34,6 +35,7 @@ const { isFetching, error, data } = useFetch('https://git.thehrz.net/api/v1/repo v-for="commit in data" :key="commit.commit.message" :title="commit.commit.message" :subtitle="`${commit.sha.slice(0, 6)} ${commit.created}`" + :to="commit.html_url" />