diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-26 09:51:39 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-26 09:51:39 -0400 |
| commit | 809a8f766640fe297a4019be52bb8fd4da81e4fe (patch) | |
| tree | 8196e31d24ddd0d573e518362b27187e3f567f30 /src/client/views/collections/TabDocView.tsx | |
| parent | 301f13ebcbc47bd04b56210620aafaaad5f2998e (diff) | |
| parent | dccf5909f4a4bec35559b23a2f355ab4c7a94086 (diff) | |
Merge branch 'master' into mainview-jenny
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
| -rw-r--r-- | src/client/views/collections/TabDocView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index 70db121d1..62d07b0e4 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -329,7 +329,7 @@ export class TabDocView extends React.Component<TabDocViewProps> { const locationFields = doc._viewType === CollectionViewType.Docking ? ["dashboard"] : location.split(":"); const locationParams = locationFields.length > 1 ? locationFields[1] : ""; switch (locationFields[0]) { - case "dashboard": return CurrentUserUtils.openDashboard(Doc.UserDoc(), doc); + case "dashboard": return CurrentUserUtils.openDashboard(doc); case "close": return CollectionDockingView.CloseSplit(doc, locationParams); case "fullScreen": return CollectionDockingView.OpenFullScreen(doc); case "replace": return CollectionDockingView.ReplaceTab(doc, locationParams, this.stack); |
