mirror of
https://github.com/seigler/seigler.github.io
synced 2025-07-26 23:06:09 +00:00
sort tag buttons by popularity
This commit is contained in:
parent
1f25d68959
commit
fa98694797
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ const topics = computed(() => {
|
|||
return [...map.entries()]
|
||||
.map(([topic, count]) => ({ topic, count }))
|
||||
.filter(({ count }) => count > 1)
|
||||
.sort((a, b) => b.count - a.count)
|
||||
})
|
||||
const isLoading = signal(true)
|
||||
const filter = signal<(r: GithubRepo) => boolean>(() => true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue