aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2021-06-27 17:20:59 -0400
committerusodhi <61431818+usodhi@users.noreply.github.com>2021-06-27 17:20:59 -0400
commitd6e313be26323d7e8265714665c71e2d571764ae (patch)
treedd256ecffa10458d53b890ca092d39172735a966 /src
parent9d03a05ae686768a542da499b6d5e1ce4d9c20fd (diff)
whoops
Diffstat (limited to 'src')
-rw-r--r--src/client/util/CurrentUserUtils.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 9f01b165f..4584d3282 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -1273,7 +1273,6 @@ Scripting.addGlobal(function shareDashboard(dashboard: Doc) {
},
"opens sharing dialog for Dashboard");
Scripting.addGlobal(async function removeDashboard(dashboard: Doc) {
- console.log(dashboard);
const dashboards = await DocListCastAsync(CurrentUserUtils.MyDashboards.data);
if (dashboards && dashboards.length > 1) {
if (dashboard === CurrentUserUtils.ActiveDashboard) CurrentUserUtils.openDashboard(Doc.UserDoc(), dashboards.find(doc => doc !== dashboard)!);