Skip to content

Commit

Permalink
fix: hide routing options on bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Oct 23, 2023
1 parent 0c543b7 commit 0f17d40
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client/src/components/drawer/Routing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,18 @@ export default function RoutingTab() {
</Collapse>
</Collapse>

<Divider sx={{ my: 2 }} />
<ListSubheader>Routing</ListSubheader>
<Collapse in={mode === 'cluster'}>
<Divider sx={{ my: 2 }} />
<ListSubheader>Routing</ListSubheader>
<MultiOptionList
field="sort_by"
buttons={SORT_BY}
disabled={mode !== 'cluster'}
type="select"
/>
</Collapse>
<Collapse in={sort_by === 'TSP'}>
<NumInput field="route_split_level" min={1} max={12} />
<Collapse in={sort_by === 'TSP'}>
<NumInput field="route_split_level" min={1} max={12} />
</Collapse>
</Collapse>

<Divider sx={{ my: 2 }} />
Expand Down

0 comments on commit 0f17d40

Please sign in to comment.