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