diff options
author | bobzel <zzzman@gmail.com> | 2023-07-12 18:55:35 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-07-12 18:55:35 -0400 |
commit | 2593940abd6298e7b38219b73f2779e6e9ee3475 (patch) | |
tree | 8a119c5905c8b7a4820fa8f1c3358e6cc0fcbc5d /src/client/util/CurrentUserUtils.ts | |
parent | 733a822c0716cbf2d1c0143f37298471ffac44b6 (diff) | |
parent | 044f451de061373aa8865082ee9c02f567d17264 (diff) |
Merge branch 'collaboration-again' of https://github.com/brown-dash/Dash-Web into collaboration-again
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index 2cee37380..f7de6b41f 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -849,6 +849,7 @@ export class CurrentUserUtils { doc.savedFilters ?? (doc.savedFilters = new List<Doc>()); doc.filterDocCount = 0; doc.treeViewFreezeChildren = "remove|add"; + doc.activePage = doc.activeDashboard === undefined ? 'home': doc.activePage; this.setupLinkDocs(doc, linkDatabaseId); this.setupSharedDocs(doc, sharingDocumentId); // sets up the right sidebar collection for mobile upload documents and sharing this.setupDefaultIconTemplates(doc); // creates a set of icon templates triggered by the document deoration icon |