diff options
| author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-10-17 15:04:30 +0530 |
|---|---|---|
| committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-10-17 15:04:30 +0530 |
| commit | cf1d27d35864915ea67050297e1c888aa0f81709 (patch) | |
| tree | a408d7c0570578531fa21c1add6b2d6c2baf6235 /src/client/views/Main.tsx | |
| parent | 9b82c151533ec336155d20b9e1641dc2d7a5cf81 (diff) | |
| parent | 5816840af60f97a34318a52a5276482cab392496 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into restored_server_monitor
Diffstat (limited to 'src/client/views/Main.tsx')
| -rw-r--r-- | src/client/views/Main.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx index 3889e2d28..c256d2ebb 100644 --- a/src/client/views/Main.tsx +++ b/src/client/views/Main.tsx @@ -13,10 +13,11 @@ AssignAllExtensions(); (async () => { window.location.search.includes("safe") && CollectionView.SetSafeMode(true); const info = await CurrentUserUtils.loadCurrentUser(); - await Docs.Prototypes.initialize(); if (info.id !== "__guest__") { // a guest will not have an id registered await CurrentUserUtils.loadUserDocument(info.id); + } else { + await Docs.Prototypes.initialize(); } document.getElementById('root')!.addEventListener('wheel', event => { if (event.ctrlKey) { |
