pref(ChangeLog): add html_url
This commit is contained in:
parent
f7ea02e8fe
commit
1c0453a668
@ -2,6 +2,7 @@
|
|||||||
interface Commit {
|
interface Commit {
|
||||||
sha: string
|
sha: string
|
||||||
created: string
|
created: string
|
||||||
|
html_url: string
|
||||||
commit: {
|
commit: {
|
||||||
message: string
|
message: string
|
||||||
}
|
}
|
||||||
@ -34,6 +35,7 @@ const { isFetching, error, data } = useFetch('https://git.thehrz.net/api/v1/repo
|
|||||||
v-for="commit in data"
|
v-for="commit in data"
|
||||||
:key="commit.commit.message" :title="commit.commit.message"
|
:key="commit.commit.message" :title="commit.commit.message"
|
||||||
:subtitle="`${commit.sha.slice(0, 6)} ${commit.created}`"
|
:subtitle="`${commit.sha.slice(0, 6)} ${commit.created}`"
|
||||||
|
:to="commit.html_url"
|
||||||
/>
|
/>
|
||||||
</v-list>
|
</v-list>
|
||||||
</v-card>
|
</v-card>
|
||||||
|
Loading…
Reference in New Issue
Block a user