Skip to content

Commit

Permalink
fix crush trial view when no trials
Browse files Browse the repository at this point in the history
  • Loading branch information
erasta committed Dec 3, 2024
1 parent 937f049 commit b3d7b2b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions client/src/Experiment/ExperimentList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,6 @@ export const ExperimentList = ({ fullscreen, showConfig, setShowConfig }) => {
}
}, [experimentName]);

useEffect(() => {
if (experiment && showConfig === SHOW_ONLY_TRIALS) {
setExpandedNodes(experiment.trialTypes.map(t => t.trackUuid));
}
}, [showConfig]);

return (
<Paper
style={{
Expand Down

0 comments on commit b3d7b2b

Please sign in to comment.