Browse Source

Fix #607 (#608)

pull/610/head
philon- 1 year ago
committed by GitHub
parent
commit
0539b15ddc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/components/Dialog/NewDeviceDialog.tsx

2
src/components/Dialog/NewDeviceDialog.tsx

@ -155,7 +155,7 @@ export const NewDeviceDialog = ({
{tabs.map((tab) => ( {tabs.map((tab) => (
<TabsContent key={tab.label} value={tab.label}> <TabsContent key={tab.label} value={tab.label}>
<fieldset disabled={tab.isDisabled}> <fieldset disabled={tab.isDisabled}>
{tab.isDisabled {(tab.label !== "HTTP" && tab.isDisabled)
? <ErrorMessage missingFeatures={unsupported} /> ? <ErrorMessage missingFeatures={unsupported} />
: null} : null}
<tab.element <tab.element

Loading…
Cancel
Save