fix: Flipped load logic

This commit is contained in:
Tom Moor 2021-10-28 20:51:40 -07:00 committed by GitHub
parent 578d4c4517
commit f2b007bcf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ function Collaborators(props: Props) {
const userIdsToFetch = uniq([
...document.collaboratorIds,
...presentIds,
]).filter((userId) => users.get(userId));
]).filter((userId) => !users.get(userId));
if (!isEqual(requestedUserIds, userIdsToFetch)) {
setRequestedUserIds(userIdsToFetch);