diff --git a/src/pods/canvas/components/canvas-accessible/components/field-accessible.component.tsx b/src/pods/canvas/components/canvas-accessible/components/field-accessible.component.tsx index 878ebdee..c8390d21 100644 --- a/src/pods/canvas/components/canvas-accessible/components/field-accessible.component.tsx +++ b/src/pods/canvas/components/canvas-accessible/components/field-accessible.component.tsx @@ -8,10 +8,18 @@ interface Props { } export const Field: React.FC = props => { - const { field, listName } = props; + const { field } = props; const renderNNElement = (NN?: boolean) => { - if (NN) return NN; + if (NN) return Not Null; + }; + const renderArrayElement = (isArray?: boolean) => { + if (isArray) + return ( + <> + array  + + ); }; const renderChildrenElement = (name: string, children?: FieldVm[]) => { @@ -20,9 +28,10 @@ export const Field: React.FC = props => { }; return ( -
  • - {field.name} - {field.type} +
  • + {field.name}  + {field.type}  + {renderArrayElement(field.isArray)} {renderNNElement(field.isNN)} {renderChildrenElement(field.name, field.children)}