ServerInfo: fix Blocked & Ignored tabs

This commit is contained in:
Vendicated 2025-06-19 22:50:53 +02:00
parent 96516f113a
commit ba76c43a26
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 13 additions and 9 deletions

View file

@ -220,12 +220,12 @@ function FriendsTab({ guild, setCount }: RelationshipProps) {
}
function BlockedUsersTab({ guild, setCount }: RelationshipProps) {
const blockedIds = Object.keys(RelationshipStore.getMutableRelationships()).filter(id => RelationshipStore.isBlocked(id));
const blockedIds = RelationshipStore.getBlockedIDs();
return UserList("blocked", guild, blockedIds, setCount);
}
function IgnoredUserTab({ guild, setCount }: RelationshipProps) {
const ignoredIds = Object.keys(RelationshipStore.getMutableRelationships()).filter(id => RelationshipStore.isIgnored(id));
const ignoredIds = RelationshipStore.getIgnoredIDs();
return UserList("ignored", guild, ignoredIds, setCount);
}