explicitly filter out labelers (#4629)

This commit is contained in:
Hailey
2024-06-24 17:07:29 -07:00
committed by GitHub
parent 340c2c5eaf
commit dd5198f317
3 changed files with 25 additions and 18 deletions
@@ -47,6 +47,7 @@ export const ProfilesList = React.forwardRef<SectionRef, ProfilesListProps>(
// The server returns these sorted by descending creation date, so we want to invert
const profiles = data?.pages
.flatMap(p => p.items.map(i => i.subject))
.filter(p => !p.associated?.labeler)
.reverse()
const isOwn = new AtUri(listUri).host === currentAccount?.did