Projects STRLCPY opencti Commits 82eb02cb
🤬
  • ■ ■ ■ ■ ■ ■
    opencti-platform/opencti-front/src/private/components/locations/regions/RegionLine.tsx
    skipped 25 lines
    26 26  import { RegionLine_node$key } from './__generated__/RegionLine_node.graphql';
    27 27  import { DataColumns } from '../../../../components/list_lines';
    28 28  import { Theme } from '../../../../components/Theme';
    29  -import { RegionsLines_data$key } from './__generated__/RegionsLines_data.graphql';
     29 +import { RegionsLines_data$data, RegionsLines_data$key } from './__generated__/RegionsLines_data.graphql';
    30 30   
    31 31  const useStyles = makeStyles<Theme>((theme) => ({
    32 32   item: {},
    skipped 57 lines
    90 90   
    91 91  interface RegionLineComponentProps {
    92 92   isSubRegion: boolean,
    93  - subRegions: RegionsLines_data$key,
    94  - countries: RegionsLines_data$key,
     93 + subRegions: RegionsLines_data$data,
     94 + countries: RegionsLines_data$data,
    95 95   node: RegionLine_node$key,
    96 96   dataColumns: DataColumns
    97 97   keyword: string,
    skipped 139 lines
  • ■ ■ ■ ■
    opencti-platform/opencti-front/src/private/components/nav/TopMenuTechniques.tsx
    skipped 115 lines
    116 116   classes={{ root: classes.button }}
    117 117   >
    118 118   <ProgressWrench className={classes.icon} fontSize="small" />
    119  - {t('Data Components')}
     119 + {t('Data components')}
    120 120   </Button>
    121 121   )}
    122 122   </div>
    skipped 5 lines
  • ■ ■ ■ ■ ■ ■
    opencti-platform/opencti-front/src/private/components/techniques/data_components/DataComponentDetails.tsx
    skipped 3 lines
    4 4  import Typography from '@mui/material/Typography';
    5 5  import Grid from '@mui/material/Grid';
    6 6  import makeStyles from '@mui/styles/makeStyles';
     7 +import Chip from '@mui/material/Chip';
    7 8  import ExpandableMarkdown from '../../../../components/ExpandableMarkdown';
    8 9  import { useFormatter } from '../../../../components/i18n';
    9 10  import { DataComponentDetails_dataComponent$key } from './__generated__/DataComponentDetails_dataComponent.graphql';
    skipped 46 lines
    56 57   <Paper classes={{ root: classes.paper }} variant="outlined">
    57 58   <Grid container={true} spacing={3}>
    58 59   <Grid item={true} xs={6}>
    59  - <Typography variant="h3" gutterBottom={true}>
     60 + <Typography
     61 + variant="h3"
     62 + gutterBottom={true}
     63 + style={{ marginTop: 0 }}
     64 + >
     65 + {t('External ID')}
     66 + </Typography>
     67 + <Chip
     68 + size="small"
     69 + color="primary"
     70 + />
     71 + <Typography
     72 + variant="h3"
     73 + gutterBottom={true}
     74 + style={{ marginTop: 20 }}
     75 + >
    60 76   {t('Description')}
    61 77   </Typography>
    62 78   <ExpandableMarkdown
    63 79   source={data.description}
    64 80   limit={300}
    65 81   />
     82 + </Grid>
     83 + <Grid item={true} xs={6}>
     84 + <DataSource />
    66 85   </Grid>
    67 86   </Grid>
    68 87   </Paper>
    skipped 6 lines
Please wait...
Page is in error, reload to recover