aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSchemaView.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-03-02 22:08:54 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-03-02 22:08:54 -0500
commit2bb713b4c4cf921960cbb03e4fbd1bf2639765ca (patch)
treef2cdf48f320eebbd1c6b2c5f05dc3c2472bfe8a1 /src/client/views/collections/CollectionSchemaView.tsx
parentbde8aabad7e5745b4797e73b564e4efb19faeca9 (diff)
Added typechecking to Scripting
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
-rw-r--r--src/client/views/collections/CollectionSchemaView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx
index 5bcd501cc..1ae8b3418 100644
--- a/src/client/views/collections/CollectionSchemaView.tsx
+++ b/src/client/views/collections/CollectionSchemaView.tsx
@@ -58,7 +58,7 @@ export class CollectionSchemaView extends CollectionViewBase {
return field || "";
}}
SetValue={(value: string) => {
- let script = CompileScript(value);
+ let script = CompileScript(value, undefined, true);
if (!script.compiled) {
return false;
}