Browse Source

fix(RepoPage): only show root patches

patches with a 'root' 't' tag according to nip34 draft spec
master
DanConwayDev 2 years ago
parent
commit
a8c093f870
No known key found for this signature in database
GPG Key ID: 68E15486D73F75E1
  1. 1
      src/lib/stores/PRs.ts

1
src/lib/stores/PRs.ts

@ -53,6 +53,7 @@ export const ensurePRSummaries = async (repo_id: string) => {
'#a': repo.maintainers.map( '#a': repo.maintainers.map(
(m) => `${repo_kind}:${m.hexpubkey}:${repo.repo_id}` (m) => `${repo_kind}:${m.hexpubkey}:${repo.repo_id}`
), ),
'#t': ['root'],
limit: 50, limit: 50,
}, },
], ],

Loading…
Cancel
Save