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/DashboardView.tsx | |
| parent | d1f268c1788f54c62c0779aba224b5b7d30edb01 (diff) | |
added activePage field for choosing dash page layout.
Diffstat (limited to 'src/client/views/DashboardView.tsx')
| -rw-r--r-- | src/client/views/DashboardView.tsx | 3 |
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"; } } |
