You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
525 B
17 lines
525 B
<script lang="ts"> |
|
import ReposSummaryList from '$lib/components/ReposSummaryList.svelte' |
|
import { summary_defaults } from '$lib/components/repo/type' |
|
import { ensureRecentRepos, recent_repos } from '$lib/stores/ReposRecent' |
|
import { repoEventToSummary } from '$lib/stores/repos' |
|
|
|
ensureRecentRepos() |
|
</script> |
|
|
|
<ReposSummaryList |
|
title="Latest Repositories" |
|
repos={$recent_repos.events.map( |
|
(c) => repoEventToSummary(c) || { ...summary_defaults } |
|
)} |
|
group_by="name" |
|
loading={$recent_repos.loading} |
|
/>
|
|
|