aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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