diff --git a/docs/components/configuration.jsx b/docs/components/configuration.jsx index 5a8f77f9..a3cf7ae0 100644 --- a/docs/components/configuration.jsx +++ b/docs/components/configuration.jsx @@ -183,12 +183,14 @@ export function Configuration() { add source - {currentStages.source - ? StageCard({ + {currentStages.source ? ( + + ) : null}
- {currentStages[TYPES.FILTERS]?.map((filter, index) => ( -
{StageCard(filter)}
+ {currentStages[TYPES.FILTERS]?.map((value, index) => ( +
+ +
))}
@@ -210,7 +214,9 @@ export function Configuration() { add sink - {currentStages.sink ? StageCard(currentStages.sink) : null} + {currentStages.sink ? ( + + ) : null} @@ -1727,9 +1733,9 @@ function KafkaStage({ onAdd }) { ); } -function StageCard(value) { +function StageCard({ value }) { return ( -
+
{Object.keys(value).map((k) => (
{typeof value[k] == "object" && !Array.isArray(value[k]) ? (