diff options
author | yipstanley <stanley_yip@brown.edu> | 2019-07-12 22:34:09 -0400 |
---|---|---|
committer | yipstanley <stanley_yip@brown.edu> | 2019-07-12 22:34:09 -0400 |
commit | 3daca894b6eaf1eb8590f54b1a5bf5feca663a08 (patch) | |
tree | c11a4cdb53574f8fb551cebb39b1cdfdb016c806 /src/client/util/LinkManager.ts | |
parent | 59d32987f4f220c97a3b3cd4886ba47f3e8c4341 (diff) |
links now go between users
Diffstat (limited to 'src/client/util/LinkManager.ts')
-rw-r--r-- | src/client/util/LinkManager.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/util/LinkManager.ts b/src/client/util/LinkManager.ts index 1ed040aa4..a647f22c1 100644 --- a/src/client/util/LinkManager.ts +++ b/src/client/util/LinkManager.ts @@ -5,6 +5,7 @@ import { listSpec } from "../../new_fields/Schema"; import { List } from "../../new_fields/List"; import { Id } from "../../new_fields/FieldSymbols"; import { CurrentUserUtils } from "../../server/authentication/models/current_user_utils"; +import { Docs } from "../documents/Documents"; /* @@ -35,7 +36,9 @@ export class LinkManager { // the linkmanagerdoc stores a list of docs representing all linkdocs in 'allLinks' and a list of strings representing all group types in 'allGroupTypes' // lists of strings representing the metadata keys for each group type is stored under a key that is the same as the group type public get LinkManagerDoc(): Doc | undefined { - return FieldValue(Cast(CurrentUserUtils.UserDocument.linkManagerDoc, Doc)); + // return FieldValue(Cast(CurrentUserUtils.UserDocument.linkManagerDoc, Doc)); + + return Docs.Prototypes.MainLinkDocument(); } public getAllLinks(): Doc[] { |