explicitly filter out labelers

This commit is contained in:
Hailey
2024-06-24 16:55:31 -07:00
parent e0ac7d5bdc
commit a404728913
3 changed files with 24 additions and 17 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