diff options
| author | bobzel <zzzman@gmail.com> | 2022-07-20 09:12:11 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-07-20 09:12:11 -0400 |
| commit | 724c1c1228aa601fdbbed93dde68a5a9fa9c5ae9 (patch) | |
| tree | 1f5f4629b4b990c619ee4e76b3997f7706aefd8f /src/client/views/topbar | |
| parent | a0b032c49e792e1bcaa69a584cacacb7e950bef1 (diff) | |
added a 'guest' login mode. added ability for mainView to be any doc, not just a docking collection.
Diffstat (limited to 'src/client/views/topbar')
| -rw-r--r-- | src/client/views/topbar/TopBar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/topbar/TopBar.tsx b/src/client/views/topbar/TopBar.tsx index 0bf1575fb..3fc0a237e 100644 --- a/src/client/views/topbar/TopBar.tsx +++ b/src/client/views/topbar/TopBar.tsx @@ -26,7 +26,7 @@ import './TopBar.scss'; @observer export class TopBar extends React.Component { navigateToHome = () => { - CollectionDockingView.Instance.CaptureThumbnail()?.then(() => { + CollectionDockingView.Instance?.CaptureThumbnail()?.then(() => { Doc.ActivePage = 'home'; DashboardView.closeActiveDashboard(); // bcz: if we do this, we need some other way to keep track, for user convenience, of the last dashboard in use }); |
