mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-10 12:23:22 +08:00
Merge pull request #523 from adjeiv/pruned_toggle_bug
Fix bug where the include pruned trials label has inverted behaviour to expected
This commit is contained in:
@@ -43,7 +43,7 @@ export const GraphHistory: FC<{
|
||||
const [markerSize, setMarkerSize] = useState<number>(5)
|
||||
|
||||
const [targets, selected, setTarget] = useObjectiveAndUserAttrTargets(study)
|
||||
const trials = useFilteredTrials(study, [selected], includePruned)
|
||||
const trials = useFilteredTrials(study, [selected], !includePruned)
|
||||
|
||||
useEffect(() => {
|
||||
if (study !== null) {
|
||||
|
||||
Reference in New Issue
Block a user