aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DashboardView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-03-14 20:31:06 -0400
committerbobzel <zzzman@gmail.com>2023-03-14 20:31:06 -0400
commit20c0190e820f2bd343693368b7ef55a91f19c880 (patch)
treed6869e114079994f6e3a80702825bfa945077b9e /src/client/views/DashboardView.tsx
parent8fe91ed2bbb8141657830e238043af37e94a91e4 (diff)
simplified Deserialize code. streamlined currentUserUtils to need fewer compiled functions by parameterizing more functions. .
Diffstat (limited to 'src/client/views/DashboardView.tsx')
-rw-r--r--src/client/views/DashboardView.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/DashboardView.tsx b/src/client/views/DashboardView.tsx
index 7ebe8d0e3..2b586b0e2 100644
--- a/src/client/views/DashboardView.tsx
+++ b/src/client/views/DashboardView.tsx
@@ -233,7 +233,6 @@ export class DashboardView extends React.Component {
/// this also sets the readonly state of the dashboard based on the current mode of dash (from its url)
public static openDashboard = (doc: Doc | undefined, fromHistory = false) => {
if (!doc) return false;
- Doc.MainDocId = doc[Id];
Doc.AddDocToList(Doc.MyDashboards, 'data', doc);
// this has the side-effect of setting the main container since we're assigning the active/guest dashboard