aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/util/CurrentUserUtils.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index aa7c2a39b..1538062bb 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -1250,7 +1250,8 @@ export class CurrentUserUtils {
Doc.AddDocToList(dashboards, "data", dashboardDoc);
// open this new dashboard
- // Doc.UserDoc().activeDashboard = dashboardDoc;
+ Doc.UserDoc().activeDashboard = dashboardDoc;
+ Doc.UserDoc().activePage = "dashboard";
}
public static GetNewTextDoc(title: string, x: number, y: number, width?: number, height?: number, noMargins?: boolean, annotationOn?: Doc, maxHeight?: number, backgroundColor?: string) {