+ {field.warning ? (
+
+
+
+
+
+
+
+
+ ) : null}
- {category.enabled !== false
- ? category.fields.map((field) => {
- if (field.type === "boolean") {
- return (
-
+ {field.type === "boolean" ? (
-
- );
- }
- if (field.type === "string") {
- return (
-
+ ) : null}
+
+ {field.type === "string" || field.type === "number" ? (
-
- );
- }
- if (field.type === "select") {
- return (
-
+ ) : null}
+
+ {field.type === "select" ? (
-
- );
- }
- })
- : null}
+ ) : null}
+
+ ))
+ : null}
-