diff options
author | bob <bcz@cs.brown.edu> | 2019-05-21 12:35:38 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-05-21 12:35:38 -0400 |
commit | a8717e39df75cbd1fd13435ee9028f230a833399 (patch) | |
tree | a17bf828e79e0f20ceb55546915d0bf4be41928e /src/debug/Viewer.tsx | |
parent | 7bafa21e8c37826686a012151674b71631fa9c8b (diff) | |
parent | cfb7fdb1a7b2db263502677e57ee882a6fe23f13 (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/debug/Viewer.tsx')
-rw-r--r-- | src/debug/Viewer.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/Viewer.tsx b/src/debug/Viewer.tsx index 4314e2132..b22300d0b 100644 --- a/src/debug/Viewer.tsx +++ b/src/debug/Viewer.tsx @@ -20,7 +20,7 @@ function applyToDoc(doc: any, key: string | number, scriptString: string): boole } const res = script.run({ this: doc }); if (!res.success) return false; - if (!Field.IsField(res.result)) return false; + if (!Field.IsField(res.result, true)) return false; doc[key] = res.result; return true; } |