mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 10:33:11 +03:00
fix description re-rendering for nullable object fields
This commit is contained in:
parent
4d9a9811c0
commit
e01ece624f
@ -109,7 +109,9 @@ export function FieldTemplate(props: FieldTemplateProps) {
|
||||
const isBoolean =
|
||||
schema.type === "boolean" ||
|
||||
(Array.isArray(schema.type) && schema.type.includes("boolean"));
|
||||
const isObjectField = schema.type === "object";
|
||||
const isObjectField =
|
||||
schema.type === "object" ||
|
||||
(Array.isArray(schema.type) && schema.type.includes("object"));
|
||||
const isNullableUnion = isNullableUnionSchema(schema as StrictRJSFSchema);
|
||||
const isAdditionalProperty = ADDITIONAL_PROPERTY_FLAG in schema;
|
||||
const suppressMultiSchema =
|
||||
|
||||
Loading…
Reference in New Issue
Block a user