diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-03-09 16:39:42 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-03-09 16:39:42 -0400 |
| commit | 636e6880a52d3a1a3e24437f47194a902731401d (patch) | |
| tree | 4f3517793dcf13191b45645ad68dca390ca7bf4e /src/client/views/collections/CollectionDockingView.tsx | |
| parent | 5be3be45d1930ec02243b4f37a1ad86a5b5c58bf (diff) | |
cleanup of warnings
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index db8f7d5e4..00e22d6fb 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -138,8 +138,8 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp } } return false; - } - let retVal = !instance?._goldenLayout.root.contentItems[0].isRow ? false : + }; + const retVal = !instance?._goldenLayout.root.contentItems[0].isRow ? false : Array.from(instance._goldenLayout.root.contentItems[0].contentItems).some((child: any) => Array.from(child.contentItems).some(tryClose)); retVal && instance.stateChanged(); |
