aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorNaafiyan Ahmed <naafiyan@gmail.com>2022-06-21 18:16:46 -0400
committerNaafiyan Ahmed <naafiyan@gmail.com>2022-06-21 18:16:46 -0400
commit566b33847cff9217ed6e4e11bed2e1b92798bc95 (patch)
tree93f06043e45aa0f026f345c11db32e66febcc710 /src/client/util/CurrentUserUtils.ts
parent04fd9f20ccdc204dad5724008b076cbf9ea7b874 (diff)
trying to get basic data viz view to work
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 60bfc165b..a96f5cb18 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -262,7 +262,10 @@ export class CurrentUserUtils {
doc.emptyHeader = headerTemplate;
}
if (doc.emptyComparison === undefined) {
- doc.emptyComparison = Docs.Create.ComparisonDocument({ ...standardOps(), title: "Comparer", _width: 300, _height: 300 });
+ doc.emptyComparison = Docs.Create.ComparisonDocument({ ...standardOps(), title: "comparer", _width: 300, _height: 300 });
+ }
+ if (doc.emptyDataViz === undefined) {
+ doc.emptyDataViz = Docs.Create.DataVizDocument({ ...standardOps(), title: "data viz", _width: 300, _height: 300 });
}
if (doc.emptyScript === undefined) {
doc.emptyScript = Docs.Create.ScriptingDocument(undefined, { ...standardOps(), title: "script", _width: 200, _height: 250, });