pref(ChangeLog): add html_url
This commit is contained in:
parent
f7ea02e8fe
commit
1c0453a668
@ -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"
|
||||
/>
|
||||
</v-list>
|
||||
</v-card>
|
||||
|
Loading…
Reference in New Issue
Block a user