aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/Main.tsx
diff options
context:
space:
mode:
authorEleanor Eng <eleanor_eng@brown.edu>2019-04-20 17:23:27 -0400
committerEleanor Eng <eleanor_eng@brown.edu>2019-04-20 17:23:27 -0400
commit5469990566c237014d3350ddb1709c253feb2a55 (patch)
tree00d6673d346fc4711d98cdad157fc2fad671be4a /src/client/views/Main.tsx
parent8788dfa4dc04219940b50c42bb99221f75f63eab (diff)
parent2517f6fb0084fe3a9a06d4dcaa330fee4dad4d73 (diff)
main fix
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 35d5e8a35..0181e98e9 100644
--- a/src/client/views/Main.tsx
+++ b/src/client/views/Main.tsx
@@ -385,8 +385,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"));
+ }
});
}