Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions packages/dashboard/src/DashboardLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import type {
} from '@deephaven/golden-layout';
import Log from '@deephaven/log';
import { usePrevious, useThrottledCallback } from '@deephaven/react-hooks';
import { ErrorBoundary } from '@deephaven/components';
import { RootState } from '@deephaven/redux';
import { useDispatch, useSelector } from 'react-redux';
import PanelManager, { ClosedPanels } from './PanelManager';
Expand Down Expand Up @@ -343,14 +344,16 @@ export function DashboardLayout({
{isDashboardEmpty && emptyDashboard}
{layoutChildren}
{React.Children.map(children, child =>
child != null
? React.cloneElement(child as ReactElement, {
child != null ? (
<ErrorBoundary fallback={[]}>
Comment thread
AkshatJawne marked this conversation as resolved.
{React.cloneElement(child as ReactElement, {
id,
layout,
panelManager,
registerComponent,
})
: null
})}
</ErrorBoundary>
) : null
)}
</>
);
Expand Down
2 changes: 0 additions & 2 deletions tests/docker-scripts/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.8'

services:
dhc-server:
container_name: dhc-server
Expand Down