X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6d1c41d6fd83824669cd1a6d714ea6da1ae7ab4c..01ca27ba0a1ef84c53e223004249505435a788b6:/services/workbench2/src/views/main-panel/main-panel-root.tsx diff --git a/services/workbench2/src/views/main-panel/main-panel-root.tsx b/services/workbench2/src/views/main-panel/main-panel-root.tsx index e5514d8ef6..cdfd0c300f 100644 --- a/services/workbench2/src/views/main-panel/main-panel-root.tsx +++ b/services/workbench2/src/views/main-panel/main-panel-root.tsx @@ -33,6 +33,8 @@ export interface MainPanelRootDataProps { siteBanner: string; sessionIdleTimeout: number; sidePanelIsCollapsed: boolean; + isTransitioning: boolean; + currentSideWidth: number; } interface MainPanelRootDispatchProps { @@ -44,7 +46,7 @@ type MainPanelRootProps = MainPanelRootDataProps & MainPanelRootDispatchProps & export const MainPanelRoot = withStyles(styles)( ({ classes, loading, working, user, buildInfo, uuidPrefix, isNotLinking, isLinkingPath, siteBanner, sessionIdleTimeout, - sidePanelIsCollapsed, toggleSidePanel }: MainPanelRootProps) =>{ + sidePanelIsCollapsed, isTransitioning, currentSideWidth}: MainPanelRootProps) =>{ return loading ? : <> @@ -62,7 +64,13 @@ export const MainPanelRoot = withStyles(styles)( {user ? (user.isActive || (!user.isActive && isLinkingPath) - ? + ? : ) : }