diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-06-16 19:37:50 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-06-16 19:37:50 -0400 |
| commit | 7b3c348de46b07d3296fff1cafba13e568ef7494 (patch) | |
| tree | 9c49bda8737224f41cb1db937d65625211861405 /src/client/views/collections/collectionGrid/CollectionGridView.tsx | |
| parent | b45ed3ca06509318c810e3a51844eacc95cb62e7 (diff) | |
| parent | 4a0332994b38c8910077e6cc711e9e78c2964b67 (diff) | |
Merge branch 'master' into script_documents
Diffstat (limited to 'src/client/views/collections/collectionGrid/CollectionGridView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionGrid/CollectionGridView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionGrid/CollectionGridView.tsx b/src/client/views/collections/collectionGrid/CollectionGridView.tsx index fe89b63ee..a5d355abc 100644 --- a/src/client/views/collections/collectionGrid/CollectionGridView.tsx +++ b/src/client/views/collections/collectionGrid/CollectionGridView.tsx @@ -162,7 +162,7 @@ export class CollectionGridView extends CollectionSubView(GridSchema) { if (this.flexGrid) { const savedLayouts = this.savedLayoutList; this.childLayoutPairs.forEach(({ layout: doc }) => { - let gridLayout = savedLayouts.find(gridLayout => gridLayout.i === doc[Id]); + const gridLayout = savedLayouts.find(gridLayout => gridLayout.i === doc[Id]); gridLayout && Object.assign(gridLayout, layoutArray.find(layout => layout.i === doc[Id]) || gridLayout); }); |
