diff options
| author | bobzel <zzzman@gmail.com> | 2020-02-10 11:39:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-10 11:39:56 -0500 |
| commit | ffeddae0e12719c7bf2a07468822c9547772febc (patch) | |
| tree | 7b4ae0842791de8df59d4be59fb5ca964f9d5b09 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | a411e92f6e7b486108f5d06564a2cdbbe91ae5ad (diff) | |
| parent | 4adc6b5a343d7ef048354b51444245755759492c (diff) | |
Merge pull request #337 from browngraphicslab/new_importer
New importer
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 8c7e841fd..c78a2a2cf 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -807,7 +807,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { doFreeformLayout(poolData: Map<string, any>) { const layoutDocs = this.childLayoutPairs.map(pair => pair.layout); const initResult = this.Document.arrangeInit && this.Document.arrangeInit.script.run({ docs: layoutDocs, collection: this.Document }, console.log); - let state = initResult && initResult.success ? initResult.result.scriptState : undefined; + const state = initResult && initResult.success ? initResult.result.scriptState : undefined; const elements = initResult && initResult.success ? this.viewDefsToJSX(initResult.result.views) : []; this.childLayoutPairs.filter(pair => this.isCurrent(pair.layout)).map((pair, i) => { |
