diff --git a/src/components/ModalsContainer/BlueprintModal/Body/Editor/index.tsx b/src/components/ModalsContainer/BlueprintModal/Body/Editor/index.tsx
index 6f00c4d41..ea1ab19de 100644
--- a/src/components/ModalsContainer/BlueprintModal/Body/Editor/index.tsx
+++ b/src/components/ModalsContainer/BlueprintModal/Body/Editor/index.tsx
@@ -487,6 +487,8 @@ export const Editor = ({
const IconComponent = Icons[selectedIcon as keyof typeof Icons]
+ const parentType = selectedSchema ? selectedSchema.type : parent
+
return (
@@ -591,29 +593,37 @@ export const Editor = ({
>
)}
-
+
+ {parentType && (
+
+ )}
-
-
-
- Indexes
+ {parentType && (
+
+
+
+ Indexes
+
+
+ setValue('selectedIndex', val?.value || '')}
+ options={attributes
+ .filter((attr) => attr.key)
+ .map((attr) => ({ label: attr.key, value: attr.key }))}
+ selectedValue={resolvedSelectedIndexValue}
+ />
+
+
-
- setValue('selectedIndex', val?.value || '')}
- options={attributes.filter((attr) => attr.key).map((attr) => ({ label: attr.key, value: attr.key }))}
- selectedValue={resolvedSelectedIndexValue}
- />
-
-
-
+ )}
+
{selectedSchema && (
@@ -660,7 +670,7 @@ export const Editor = ({
}
const CustomButton = styled(Button)`
- width: 100% !important;
+ width: 400px !important;
margin: 0 auto !important;
`
@@ -765,4 +775,4 @@ const InputIconWrapper = styled(Flex)`
const InputWrapper = styled(Flex)`
width: 320px;
-`
+`
\ No newline at end of file