aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/topbar
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-06-09 17:25:55 -0400
committerbobzel <zzzman@gmail.com>2022-06-09 17:25:55 -0400
commit43968431d3c94cea07f06421d29ac0f190c55cde (patch)
treeb136335b28e07acff9b3e1738000911a8efc232c /src/client/views/topbar
parentd1f268c1788f54c62c0779aba224b5b7d30edb01 (diff)
added activePage field for choosing dash page layout.
Diffstat (limited to 'src/client/views/topbar')
-rw-r--r--src/client/views/topbar/TopBar.tsx2
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);