diff options
author | bobzel <zzzman@gmail.com> | 2022-09-13 10:11:49 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-09-13 10:11:49 -0400 |
commit | 36b17b5b0878eeb2eb23fd4c5078e06fcc002aaf (patch) | |
tree | 33c1a3fb50381d09bf89bd43d869544a3c52c7b6 /src/client/util/SharingManager.tsx | |
parent | 7696d85b7b737a29cab189f4c65f395c5de132c7 (diff) | |
parent | bb9f0d4dec849bdaf2d358d060707b2ed1ed677d (diff) |
Merge branch 'sharing-jenny' of https://github.com/brown-dash/Dash-Web into sharing-jenny
Diffstat (limited to 'src/client/util/SharingManager.tsx')
-rw-r--r-- | src/client/util/SharingManager.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/util/SharingManager.tsx b/src/client/util/SharingManager.tsx index f3ff842fb..4b0310e76 100644 --- a/src/client/util/SharingManager.tsx +++ b/src/client/util/SharingManager.tsx @@ -23,6 +23,7 @@ import { GroupMemberView } from './GroupMemberView'; import { SelectionManager } from './SelectionManager'; import './SharingManager.scss'; import { LinkManager } from './LinkManager'; +import { Id } from '../../fields/FieldSymbols'; export interface User { email: string; @@ -136,7 +137,7 @@ export class SharingManager extends React.Component<{}> { * Populates the list of validated users (this.users) by adding registered users which have a sharingDocument. */ populateUsers = async () => { - if (!this.populating) { + if (!this.populating && Doc.UserDoc()[Id] !== '__guest__') { this.populating = true; const userList = await RequestPromise.get(Utils.prepend('/getUsers')); const raw = JSON.parse(userList) as User[]; |