Skip to content

Commit

Permalink
hofix portal
Browse files Browse the repository at this point in the history
  • Loading branch information
konfig-bot committed Oct 18, 2023
1 parent 18b4389 commit 25a1b94
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions generator/konfig-next-app/src/components/ParameterInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,7 @@ export function ParameterInput({
const { colorScheme, colors } = useMantineTheme()
const [jsonInputValue, setJsonInputValue] = useState('')
if (parameter.schema.type === 'object') {
if (
parameter.schema.properties !== undefined ||
parameter.schema.additionalProperties !== undefined
)
return null
console.log(parameter.schema)
if (parameter.schema.properties !== undefined) return null
const { onChange, value, ...rest } = inputProps
return (
<JsonInput
Expand Down

0 comments on commit 25a1b94

Please sign in to comment.