diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-09 17:25:55 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-09 17:25:55 -0400 |
| commit | 43968431d3c94cea07f06421d29ac0f190c55cde (patch) | |
| tree | b136335b28e07acff9b3e1738000911a8efc232c /src/client/views/topbar | |
| parent | d1f268c1788f54c62c0779aba224b5b7d30edb01 (diff) | |
added activePage field for choosing dash page layout.
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 21ef807ff..258891099 100644 --- a/src/client/views/topbar/TopBar.tsx +++ b/src/client/views/topbar/TopBar.tsx @@ -21,7 +21,7 @@ import "./TopBar.scss"; @observer export class TopBar extends React.Component { navigateToHome = () => { - CurrentUserUtils.CaptureDashboardThumbnail()?.then(() => Doc.UserDoc().activeDashboard = undefined); + CurrentUserUtils.CaptureDashboardThumbnail()?.then(() => Doc.UserDoc().activePage = "home"); } render() { const myDashboards = DocListCast(CurrentUserUtils.MyDashboards.data); |
