aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/Main.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-04-10 01:53:56 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-04-10 01:53:56 -0400
commit54a89c59905b74ab71aa7366b3f1b7d653000547 (patch)
tree3236e6714abcfc189be74c4f5d2d63311428cabc /src/client/views/Main.tsx
parent89fd4327db1536990b4a4dc218819a1077f82445 (diff)
Fixed a couple server bugs
Diffstat (limited to 'src/client/views/Main.tsx')
-rw-r--r--src/client/views/Main.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx
index 32798631d..6e7701d89 100644
--- a/src/client/views/Main.tsx
+++ b/src/client/views/Main.tsx
@@ -384,8 +384,9 @@ export class Main extends React.Component {
let cat = Gateway.Instance.ClearCatalog();
cat.then(async () => {
this.AddToNorthstarCatalog(await Gateway.Instance.GetCatalog());
- if (!CurrentUserUtils.GetNorthstarSchema("Book1"))
+ if (!CurrentUserUtils.GetNorthstarSchema("Book1")) {
this.AddToNorthstarCatalog(await Gateway.Instance.GetSchema("http://www.cs.brown.edu/~bcz/Book1.csv"));
+ }
});
}