|
|
@ -14,9 +14,5 @@ export default function Container({ error = false, children, service }) {
|
|
|
|
visibleChildren = children.filter(child => fields.some(field => `${type}.${field}` === child.props?.label));
|
|
|
|
visibleChildren = children.filter(child => fields.some(field => `${type}.${field}` === child.props?.label));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return <div className="relative flex flex-row w-full">{visibleChildren}</div>;
|
|
|
|
<div className="relative flex flex-row w-full">
|
|
|
|
|
|
|
|
{visibleChildren}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|