X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f3b8d03f7063b162355bccfd71aeb2b8b67bbdbb..52d652233f981839e4a8cfe25fadf985adda82ee:/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) - ? + ? : ) : }