X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2f83fcd45b4b23db2bb5bb4afbe1e863ebd77ec6..766d2d7ca8dbb5522a8b7de6409c83fbba4a36ca:/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) - ? + ? : ) : }