Skip to content

Commit

Permalink
hide adapter select when child is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
aolsenjazz committed Oct 16, 2024
1 parent 72851c4 commit 2069c4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/renderer/components/DeviceDrawer/DeviceDetailsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ export default function DeviceDetailsPanel(props: PropTypes) {
</div>
{isAdapter && (
<>
<AdapterDetailsSubpanel /> <AdapterSelect deviceConfig={config} />
<AdapterDetailsSubpanel />
{config.child === undefined && (
<AdapterSelect deviceConfig={config} />
)}
</>
)}
<label htmlFor="nickname-input">
Expand Down

0 comments on commit 2069c4c

Please sign in to comment.