mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-14 11:00:34 +08:00
Fix repo listing not displaying all repos
`Show::All` which is the default value should return all values obtained from `storage.repositories()`. This commit adds a `Show::Contributor` enum variant to only get repos that the user has forked, initialized or contributed in some way.
This commit is contained in:
@@ -151,6 +151,22 @@
|
||||
</div>
|
||||
<!-- svelte-ignore a11y_click_events_have_key_events -->
|
||||
<!-- svelte-ignore a11y_no_static_element_interactions -->
|
||||
<div
|
||||
class="tab"
|
||||
class:active={activeTab.filter === "contributor"}
|
||||
onclick={() =>
|
||||
router.push({
|
||||
resource: "home",
|
||||
activeTab: "contributor",
|
||||
})}>
|
||||
<div class="global-flex">
|
||||
<Icon name="user" />
|
||||
<div>Contributor</div>
|
||||
</div>
|
||||
<div class="global-counter">{repoCount.contributor}</div>
|
||||
</div>
|
||||
<!-- svelte-ignore a11y_click_events_have_key_events -->
|
||||
<!-- svelte-ignore a11y_no_static_element_interactions -->
|
||||
<div
|
||||
class="tab"
|
||||
class:active={activeTab.filter === "private"}
|
||||
|
||||
Reference in New Issue
Block a user