aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DashboardView.tsx
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/DashboardView.tsx
parentd1f268c1788f54c62c0779aba224b5b7d30edb01 (diff)
added activePage field for choosing dash page layout.
Diffstat (limited to 'src/client/views/DashboardView.tsx')
-rw-r--r--src/client/views/DashboardView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/DashboardView.tsx b/src/client/views/DashboardView.tsx
index 3cfece970..b08151c0f 100644
--- a/src/client/views/DashboardView.tsx
+++ b/src/client/views/DashboardView.tsx
@@ -22,7 +22,8 @@ export class DashboardView extends React.Component {
clickDashboard = async (e: React.MouseEvent, dashboard: Doc) => {
if (e.detail === 2) {
- Doc.UserDoc().activeDashboard = dashboard
+ Doc.UserDoc().activeDashboard = dashboard;
+ Doc.UserDoc().activePage = "dashboard";
}
}