aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-29 17:58:32 -0400
committerbobzel <zzzman@gmail.com>2020-08-29 17:58:32 -0400
commit51f9da2bb6529c102c300a1ceb4ccd23065a76fc (patch)
tree21302dfcd859edc235f77e31f01a3a12192f0b6b /src/client/util/CurrentUserUtils.ts
parent442572a66aaa6b50d8d01d46d79b7d6cf2f247a8 (diff)
split out TabDocView from CollectionDockingView (where it had been called DockedFrameRenderer)
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 2ca395164..260552879 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -1031,11 +1031,7 @@ export class CurrentUserUtils {
const dashboards = Cast(userDoc.myDashboards, Doc) as Doc;
const dashboardCount = DocListCast(dashboards.data).length + 1;
const emptyPane = Cast(userDoc.emptyPane, Doc, null);
- try {
- emptyPane["dragFactory-count"] = NumCast(emptyPane["dragFactory-count"]) + 1;
- } catch (e) {
- console.log(e)
- }
+ emptyPane["dragFactory-count"] = NumCast(emptyPane["dragFactory-count"]) + 1;
const freeformOptions: DocumentOptions = {
x: 0,
y: 400,