aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2022-09-21 15:00:33 -0400
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2022-09-21 15:00:33 -0400
commitf13bb74b7354fce077c1888c2fe11059cb61d5e2 (patch)
tree7bd1000334e64ffdd76ea2807eac536ed7ca9f80
parentd397e89b93bfa80847a04439c0ff5c99e7ddb1e2 (diff)
fixed homepage bug
-rw-r--r--src/client/views/DashboardView.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/DashboardView.tsx b/src/client/views/DashboardView.tsx
index 68d975a17..911b53945 100644
--- a/src/client/views/DashboardView.tsx
+++ b/src/client/views/DashboardView.tsx
@@ -83,8 +83,10 @@ export class DashboardView extends React.Component {
@undoBatch
createNewDashboard = async (name: string, background?: string) => {
+ setTimeout(() => {
+ this.abortCreateNewDashboard();
+ }, 100);
DashboardView.createNewDashboard(undefined, name, background);
- this.abortCreateNewDashboard();
};
@computed