| | |
| | | <> |
| | | <StyledDatagrid |
| | | preferenceKey='segment' |
| | | bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />} |
| | | bulkActionButtons={false} |
| | | rowClick={(id, resource, record) => false} |
| | | expand={() => <SegmentPanel />} |
| | | expandSingle={true} |
| | |
| | | </Typography> |
| | | {/* inherit, primary, secondary, textPrimary, textSecondary, error */} |
| | | <Typography variant="h6" gutterBottom align="right" > |
| | | ID: {record.id} |
| | | {Common.camelToPascalWithSpaces(translate('table.field.segment.uuid'))}:{record.uuid} |
| | | </Typography> |
| | | </Grid> |
| | | </Grid> |
| | |
| | | </Grid> |
| | | <Box height={20}> </Box> |
| | | <Grid container spacing={2}> |
| | | <Grid item xs={6}> |
| | | <PanelTypography |
| | | title="table.field.segment.uuid" |
| | | property={record.uuid} |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={6}> |
| | | <PanelTypography |
| | | title="table.field.segment.groupId" |
| | |
| | | <PanelTypography |
| | | title="table.field.segment.serial" |
| | | property={record.serial} |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={6}> |
| | | <PanelTypography |
| | | title="table.field.segment.startNode" |
| | | property={record.startNode$} |
| | | /> |
| | | </Grid> |
| | | <Grid item xs={6}> |