Merge branch '13863-workflow-inputs-processing'
[arvados.git] / src / views-components / side-panel / side-panel.tsx
index 780ecc7fbe77685a6d6c83f002fb46dbc9787610..12e82dfb102f9ade1df6cd928a19c1957b7ebe3b 100644 (file)
@@ -12,7 +12,6 @@ import { navigateFromSidePanel } from '../../store/side-panel/side-panel-action'
 import { Grid } from '@material-ui/core';
 import { SidePanelButton } from '~/views-components/side-panel-button/side-panel-button';
 import { RootState } from '~/store/store';
-import { SidePanelProgress } from '~/views-components/progress/side-panel-progress';
 
 const DRAWER_WITDH = 240;
 
@@ -35,14 +34,13 @@ const mapDispatchToProps = (dispatch: Dispatch): SidePanelTreeProps => ({
 });
 
 const mapStateToProps = (state: RootState) => ({
-    sidePanelProgress: state.progressIndicator.sidePanelProgress.started
 });
 
-export const SidePanel = compose(
-    withStyles(styles),
-    connect(mapStateToProps, mapDispatchToProps)
-)(({ classes, ...props }: WithStyles<CssRules> & SidePanelTreeProps) =>
+export const SidePanel = withStyles(styles)(
+    connect(mapStateToProps, mapDispatchToProps)(
+    ({ classes, ...props }: WithStyles<CssRules> & SidePanelTreeProps) =>
     <Grid item xs>
         <SidePanelButton />
-        {props.sidePanelProgress ? <SidePanelProgress /> : <SidePanelTree {...props} />}
-    </Grid>);
\ No newline at end of file
+        <SidePanelTree {...props} />
+    </Grid>
+));