pref(ChangeLog): update commits list
This commit is contained in:
parent
bb697f995d
commit
d80af3c4c2
@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
interface Commit {
|
||||
sha: string
|
||||
created: string
|
||||
commit: {
|
||||
message: string
|
||||
}
|
||||
@ -32,7 +33,7 @@ const { isFetching, error, data } = useFetch('https://git.thehrz.net/api/v1/repo
|
||||
<v-list-item
|
||||
v-for="commit in data"
|
||||
:key="commit.commit.message" :title="commit.commit.message"
|
||||
:subtitle="`${commit.sha.slice(0, 6)} ${commit.author.username}`"
|
||||
:subtitle="`${commit.sha.slice(0, 6)} ${commit.created}`"
|
||||
/>
|
||||
</v-list>
|
||||
</v-card>
|
||||
|
Loading…
Reference in New Issue
Block a user