diff --git a/opencti-platform/opencti-front/src/components/Breadcrumbs.tsx b/opencti-platform/opencti-front/src/components/Breadcrumbs.tsx index 4d834469ca93..0ff13036d6d3 100644 --- a/opencti-platform/opencti-front/src/components/Breadcrumbs.tsx +++ b/opencti-platform/opencti-front/src/components/Breadcrumbs.tsx @@ -2,7 +2,7 @@ import React, { FunctionComponent } from 'react'; import MUIBreadcrumbs from '@mui/material/Breadcrumbs'; import { Link } from 'react-router-dom'; import Typography from '@mui/material/Typography'; -import makeStyles from '@mui/styles/makeStyles'; +import { useTheme } from '@mui/styles'; import { truncate } from '../utils/String'; import type { Theme } from './Theme'; @@ -13,35 +13,13 @@ interface element { } interface BreadcrumbsProps { - variant: 'standard' | 'list' | 'object', elements: element[], } -// Deprecated - https://mui.com/system/styles/basics/ -// Do not use it for new code. -const useStyles = makeStyles((theme) => ({ - breadcrumbsList: { - marginBottom: theme.spacing(2), - }, - breadcrumbsObject: { - marginTop: -5, - marginBottom: 15, - }, - breadcrumbsStandard: { - marginTop: -5, - }, -})); - -const Breadcrumbs: FunctionComponent = ({ elements, variant }) => { - const classes = useStyles(); - let className = classes.breadcrumbsStandard; - if (variant === 'list') { - className = classes.breadcrumbsList; - } else if (variant === 'object') { - className = classes.breadcrumbsObject; - } +const Breadcrumbs: FunctionComponent = ({ elements }) => { + const theme = useTheme(); return ( - + {elements.map((element) => { if (element.current) { return ( diff --git a/opencti-platform/opencti-front/src/components/list_lines/ListLines.jsx b/opencti-platform/opencti-front/src/components/list_lines/ListLines.jsx index ec5e4e367974..2ed556175436 100644 --- a/opencti-platform/opencti-front/src/components/list_lines/ListLines.jsx +++ b/opencti-platform/opencti-front/src/components/list_lines/ListLines.jsx @@ -61,7 +61,6 @@ const styles = (theme) => ({ display: 'flex', alignItems: 'center', gap: 10, - marginTop: -10, paddingBottom: 10, flexWrap: 'wrap', }, diff --git a/opencti-platform/opencti-front/src/private/components/analyses/ExternalReferences.tsx b/opencti-platform/opencti-front/src/private/components/analyses/ExternalReferences.tsx index 7e48ecf40003..06e6c7376edb 100644 --- a/opencti-platform/opencti-front/src/private/components/analyses/ExternalReferences.tsx +++ b/opencti-platform/opencti-front/src/private/components/analyses/ExternalReferences.tsx @@ -150,7 +150,7 @@ const ExternalReferences: FunctionComponent = () => { } as UsePreloadedPaginationFragment; return ( <> - + {queryRef && ( = () => { return ( - + {queryRef && ( { return ( - + {queryRef && (
{ return ( <> - + {queryRef && ( { }; return ( - + {queryRef && ( { if (props.externalReference && props.connectorsForImport) { return ( <> - { const currentAccessRight = useGetCurrentUserAccessRight(grouping.currentUserAccessRight); return (
- { const paddingRight = getPaddingRight(location.pathname, malwareAnalysis.id, '/dashboard/analyses/malware_analyses', false); return (
- { const { note } = props; return ( <> - { const currentAccessRight = useGetCurrentUserAccessRight(report.currentUserAccessRight); return (
- { return ( <> - + {queryRef && ( { return ( <> - + {viewStorage.view !== 'lines' ? renderCards() : renderList()} {!isFABReplaced && ( diff --git a/opencti-platform/opencti-front/src/private/components/arsenal/Tools.tsx b/opencti-platform/opencti-front/src/private/components/arsenal/Tools.tsx index 4d6351fc845c..c5eb54fee08e 100644 --- a/opencti-platform/opencti-front/src/private/components/arsenal/Tools.tsx +++ b/opencti-platform/opencti-front/src/private/components/arsenal/Tools.tsx @@ -144,7 +144,7 @@ const Tools = () => { return ( <> - + {queryRef && ( { return ( <> - + {queryRef && ( { />
- { />
- { />
-
- = () => { return ( <> - + {queryRef && ( = () => { return ( <> - + {queryRef && ( = () => { return ( <> - + {queryRef && ( = () => { return ( <> - + {queryRef && ( { return ( <> - + {queryRef && ( { const currentAccessRight = useGetCurrentUserAccessRight(caseData.currentUserAccessRight); return (
- { const currentAccessRight = useGetCurrentUserAccessRight(caseData.currentUserAccessRight); return (
- { const currentAccessRight = useGetCurrentUserAccessRight(caseData.currentUserAccessRight); return (
- { const { canEdit } = useGetCurrentUserAccessRight(feedbackData.currentUserAccessRight); return (
- { <> {data ? (
- - + { schemaAttributesQueryRef={queryRefSchemaAttributes} >
- + { return (
- + {queryRef && ( { padding: '0 200px 50px 0', }} > - + {feedState.view === 'lines' ? renderLines(paginationOptions) : ''} diff --git a/opencti-platform/opencti-front/src/private/components/data/IngestionCsv.tsx b/opencti-platform/opencti-front/src/private/components/data/IngestionCsv.tsx index 6a1beee19a69..1549427eb2ed 100644 --- a/opencti-platform/opencti-front/src/private/components/data/IngestionCsv.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/IngestionCsv.tsx @@ -123,7 +123,7 @@ const IngestionCsv = () => { return (
- + {renderLines()} diff --git a/opencti-platform/opencti-front/src/private/components/data/IngestionRss.jsx b/opencti-platform/opencti-front/src/private/components/data/IngestionRss.jsx index 965907c966bc..9c56302b5e82 100644 --- a/opencti-platform/opencti-front/src/private/components/data/IngestionRss.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/IngestionRss.jsx @@ -72,7 +72,7 @@ const IngestionRss = () => { } return (
- + { } return (
- + { }; return (
- + {isEnterpriseEdition ? ( <> diff --git a/opencti-platform/opencti-front/src/private/components/data/Relationships.tsx b/opencti-platform/opencti-front/src/private/components/data/Relationships.tsx index 4642ea16a4cf..97d019af7eb1 100644 --- a/opencti-platform/opencti-front/src/private/components/data/Relationships.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/Relationships.tsx @@ -299,7 +299,7 @@ const Relationships = () => { return ( <> - + {queryRef && ( - + {view === 'lines' ? this.renderLines(paginationOptions) : ''} diff --git a/opencti-platform/opencti-front/src/private/components/data/Sync.jsx b/opencti-platform/opencti-front/src/private/components/data/Sync.jsx index e4fa650e1656..5cc0e29ba5fd 100644 --- a/opencti-platform/opencti-front/src/private/components/data/Sync.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/Sync.jsx @@ -79,7 +79,7 @@ const Sync = () => { } return (
- + {
- + {t_i18n('In progress tasks')} diff --git a/opencti-platform/opencti-front/src/private/components/data/Taxii.tsx b/opencti-platform/opencti-front/src/private/components/data/Taxii.tsx index d630d12ed1e1..9348399a86fc 100644 --- a/opencti-platform/opencti-front/src/private/components/data/Taxii.tsx +++ b/opencti-platform/opencti-front/src/private/components/data/Taxii.tsx @@ -118,7 +118,7 @@ const Taxii = () => { }} aria-label="TaxiiCollections" > - + {taxiiState.view === 'lines' ? renderLines(paginationOptions) : null} diff --git a/opencti-platform/opencti-front/src/private/components/data/connectors/Root.jsx b/opencti-platform/opencti-front/src/private/components/data/connectors/Root.jsx index 41ef966cd15c..5889d7ef92f1 100644 --- a/opencti-platform/opencti-front/src/private/components/data/connectors/Root.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/connectors/Root.jsx @@ -25,7 +25,7 @@ class RootConnector extends Component { if (props.connector) { return ( <> - + - + {isNewImportScreensEnabled && } { return (
- + { return (
- + { }; return ( <> - + {renderLines()} {!isFABReplaced && diff --git a/opencti-platform/opencti-front/src/private/components/entities/Individuals.tsx b/opencti-platform/opencti-front/src/private/components/entities/Individuals.tsx index 8f9fb9f2d422..8208a9a07638 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/Individuals.tsx +++ b/opencti-platform/opencti-front/src/private/components/entities/Individuals.tsx @@ -117,7 +117,7 @@ const Individuals = () => { return ( <> - + {renderLines()} {!isFABReplaced && diff --git a/opencti-platform/opencti-front/src/private/components/entities/Organizations.tsx b/opencti-platform/opencti-front/src/private/components/entities/Organizations.tsx index d8e9f3a09424..ecde43ded40b 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/Organizations.tsx +++ b/opencti-platform/opencti-front/src/private/components/entities/Organizations.tsx @@ -125,7 +125,7 @@ const Organizations = () => { return ( <> - + {renderLines()} {!isFABReplaced && diff --git a/opencti-platform/opencti-front/src/private/components/entities/Sectors.jsx b/opencti-platform/opencti-front/src/private/components/entities/Sectors.jsx index c18247e5cff6..e78ac4e40d8c 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/Sectors.jsx +++ b/opencti-platform/opencti-front/src/private/components/entities/Sectors.jsx @@ -50,7 +50,7 @@ class Sectors extends Component { const { t } = this.props; return ( <> - +
{ return ( <> - + {renderLines()} {!isFABReplaced && diff --git a/opencti-platform/opencti-front/src/private/components/entities/events/Root.tsx b/opencti-platform/opencti-front/src/private/components/entities/events/Root.tsx index 4495ad43524f..fb9c7285e473 100644 --- a/opencti-platform/opencti-front/src/private/components/entities/events/Root.tsx +++ b/opencti-platform/opencti-front/src/private/components/entities/events/Root.tsx @@ -127,7 +127,7 @@ const RootEvent = ({ eventId, queryRef }: RootEventProps) => { />
- { />
-
- { />
- { />
- { return (
- + {queryRef && ( { return ( <> - + {queryRef && ( { return ( <> - + {queryRef && ( {
- - - { }; return ( <> - + {renderLines()} {!FABReplaced && diff --git a/opencti-platform/opencti-front/src/private/components/locations/Cities.tsx b/opencti-platform/opencti-front/src/private/components/locations/Cities.tsx index b4c723743629..67ef5a6cdfef 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/Cities.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/Cities.tsx @@ -111,7 +111,7 @@ const Cities: FunctionComponent = () => { }; return ( <> - + {renderLines()} {!FABReplaced && diff --git a/opencti-platform/opencti-front/src/private/components/locations/Countries.tsx b/opencti-platform/opencti-front/src/private/components/locations/Countries.tsx index aa73773eb77a..1b743b6b883d 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/Countries.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/Countries.tsx @@ -111,7 +111,7 @@ const Countries: FunctionComponent = () => { }; return ( <> - + {renderLines()} {!FABReplaced && diff --git a/opencti-platform/opencti-front/src/private/components/locations/Positions.tsx b/opencti-platform/opencti-front/src/private/components/locations/Positions.tsx index ba92b8f76d64..ecaa0fa56e01 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/Positions.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/Positions.tsx @@ -111,7 +111,7 @@ const Positions: FunctionComponent = () => { }; return ( <> - + {renderLines()} {!FABReplaced && diff --git a/opencti-platform/opencti-front/src/private/components/locations/Regions.tsx b/opencti-platform/opencti-front/src/private/components/locations/Regions.tsx index b7c0637dd986..56856243c9c1 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/Regions.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/Regions.tsx @@ -111,7 +111,7 @@ const Regions: FunctionComponent = () => { }; return ( <> - + {renderLines()} {!FABReplaced && diff --git a/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/Root.tsx b/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/Root.tsx index 2f6ed2b1a86c..51bf20ded588 100644 --- a/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/Root.tsx +++ b/opencti-platform/opencti-front/src/private/components/locations/administrative_areas/Root.tsx @@ -126,7 +126,7 @@ const RootAdministrativeAreaComponent = ({ queryRef, administrativeAreaId }) => />
- { />
- { />
- { />
- { />
- { return (
- + {queryRef && ( { return ( <> - + {queryRef && ( { return ( - + {queryRef && ( { return ( - + {queryRef && ( - { <> {indicator ? (
- {
- {stixCyberObservable ? (
- { }; return ( <> - + {renderLines()} ); diff --git a/opencti-platform/opencti-front/src/private/components/profile/Triggers.tsx b/opencti-platform/opencti-front/src/private/components/profile/Triggers.tsx index db7789594102..2134d60dd783 100644 --- a/opencti-platform/opencti-front/src/private/components/profile/Triggers.tsx +++ b/opencti-platform/opencti-front/src/private/components/profile/Triggers.tsx @@ -112,7 +112,7 @@ const Triggers: FunctionComponent = () => { return ( <> - + {renderLines()} diff --git a/opencti-platform/opencti-front/src/private/components/search/SearchContainerQuery.tsx b/opencti-platform/opencti-front/src/private/components/search/SearchContainerQuery.tsx index 18a82be4cf92..c64bd7837750 100644 --- a/opencti-platform/opencti-front/src/private/components/search/SearchContainerQuery.tsx +++ b/opencti-platform/opencti-front/src/private/components/search/SearchContainerQuery.tsx @@ -6,12 +6,14 @@ import { Link, useLocation, useParams } from 'react-router-dom'; import EEChip from '@components/common/entreprise_edition/EEChip'; import { graphql, PreloadedQuery, usePreloadedQuery, useQueryLoader } from 'react-relay'; import Badge from '@mui/material/Badge'; +import { useTheme } from '@mui/styles'; import ExportContextProvider from '../../../utils/ExportContextProvider'; import { useFormatter } from '../../../components/i18n'; import { decodeSearchKeyword } from '../../../utils/SearchUtils'; import useAuth from '../../../utils/hooks/useAuth'; import { SearchContainerQueryFilesCountQuery } from './__generated__/SearchContainerQueryFilesCountQuery.graphql'; import Breadcrumbs from '../../../components/Breadcrumbs'; +import type { Theme } from '../../../components/Theme'; const searchContainerQueryFilesCountQuery = graphql` query SearchContainerQueryFilesCountQuery($search: String) { @@ -26,6 +28,7 @@ interface SearchRootComponentProps { const SearchContainer: FunctionComponent = ({ children, filesCount = 0 }) => { const { t_i18n } = useFormatter(); + const theme = useTheme(); const { keyword } = useParams() as { keyword: string }; const location = useLocation(); let searchType = 'knowledge'; @@ -34,12 +37,13 @@ const SearchContainer: FunctionComponent = ({ children } return ( - + diff --git a/opencti-platform/opencti-front/src/private/components/settings/Groups.jsx b/opencti-platform/opencti-front/src/private/components/settings/Groups.jsx index c661ec77a84e..f1b28a00fa28 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/Groups.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/Groups.jsx @@ -157,7 +157,7 @@ class Groups extends Component { }; return (
- + {view === 'lines' ? this.renderLines(paginationOptions) : ''} diff --git a/opencti-platform/opencti-front/src/private/components/settings/KillChainPhases.jsx b/opencti-platform/opencti-front/src/private/components/settings/KillChainPhases.jsx index 657864d207bc..ed32c4d133c8 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/KillChainPhases.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/KillChainPhases.jsx @@ -145,7 +145,7 @@ const KillChainPhases = () => { return (
- + {queryRef && ( { return (
- + {queryRef && ( - + {view === 'lines' ? this.renderLines(paginationOptions) : ''} diff --git a/opencti-platform/opencti-front/src/private/components/settings/Notifiers.tsx b/opencti-platform/opencti-front/src/private/components/settings/Notifiers.tsx index c4fa16d5875e..eacbf695c06a 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/Notifiers.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/Notifiers.tsx @@ -71,7 +71,7 @@ const Notifiers = () => { return (
- + = ({ return (
- + { return (
- + - + {view === 'lines' ? this.renderLines(paginationOptions) : ''} diff --git a/opencti-platform/opencti-front/src/private/components/settings/Rules.jsx b/opencti-platform/opencti-front/src/private/components/settings/Rules.jsx index d9c5164cc022..f2f6518625cc 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/Rules.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/Rules.jsx @@ -43,7 +43,7 @@ const Rules = () => { return (
- + {({ platformModuleHelpers }) => { if (!platformModuleHelpers.isRuleEngineEnable()) { diff --git a/opencti-platform/opencti-front/src/private/components/settings/Sessions.jsx b/opencti-platform/opencti-front/src/private/components/settings/Sessions.jsx index bdf6993160d4..39201b6dd6fb 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/Sessions.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/Sessions.jsx @@ -57,7 +57,7 @@ class Sessions extends Component { return (
- +
({ +const useStyles = makeStyles((theme) => ({ container: { margin: '0 0 60px 0', }, @@ -44,7 +44,7 @@ const useStyles = makeStyles(() => ({ }, button: { float: 'right', - marginTop: -30, + marginTop: theme.spacing(-5), }, })); @@ -295,7 +295,7 @@ const Settings = () => { ); return ( <> - + diff --git a/opencti-platform/opencti-front/src/private/components/settings/SettingsOrganizations.tsx b/opencti-platform/opencti-front/src/private/components/settings/SettingsOrganizations.tsx index 3947e82714df..f7fd9c0167f2 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/SettingsOrganizations.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/SettingsOrganizations.tsx @@ -77,7 +77,7 @@ const SettingsOrganizations = () => { }; return (
- + { return (
- + {isSetAccess || isEnterpriseEdition ? ( renderLines() diff --git a/opencti-platform/opencti-front/src/private/components/settings/Vocabularies.tsx b/opencti-platform/opencti-front/src/private/components/settings/Vocabularies.tsx index 0ab3f2480d60..4edeb03fc655 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/Vocabularies.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/Vocabularies.tsx @@ -180,7 +180,7 @@ const Vocabularies = () => { return (
- { return (
- + {renderLines()}
); diff --git a/opencti-platform/opencti-front/src/private/components/settings/activity/alerting/Alerting.tsx b/opencti-platform/opencti-front/src/private/components/settings/activity/alerting/Alerting.tsx index ae2bf9afb251..92b4edf2cf0b 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/activity/alerting/Alerting.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/activity/alerting/Alerting.tsx @@ -217,7 +217,7 @@ const Alerting: FunctionComponent = () => { return (
- + {renderLines()}
diff --git a/opencti-platform/opencti-front/src/private/components/settings/activity/audit/Audit.tsx b/opencti-platform/opencti-front/src/private/components/settings/activity/audit/Audit.tsx index 2b7c65e8e7b1..659f9c80d812 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/activity/audit/Audit.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/activity/audit/Audit.tsx @@ -219,7 +219,7 @@ const Audit = () => { return (
-
- + diff --git a/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplates.tsx b/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplates.tsx index d6055e335159..5769864bbfe3 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplates.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/case_templates/CaseTemplates.tsx @@ -105,7 +105,7 @@ const CaseTemplates = () => { return (
- + {renderLines()} { return (
- { return (
- + {renderLines()}
diff --git a/opencti-platform/opencti-front/src/private/components/settings/file_indexing/FileIndexing.tsx b/opencti-platform/opencti-front/src/private/components/settings/file_indexing/FileIndexing.tsx index 3aa4f1713669..5ed180e89a19 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/file_indexing/FileIndexing.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/file_indexing/FileIndexing.tsx @@ -90,7 +90,7 @@ const FileIndexingComponent: FunctionComponent = ({ }, []); return ( <> - + {!isEnterpriseEdition ? ( ) : ( diff --git a/opencti-platform/opencti-front/src/private/components/settings/groups/Root.tsx b/opencti-platform/opencti-front/src/private/components/settings/groups/Root.tsx index 74282dd357d5..f5868b8ee40f 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/groups/Root.tsx +++ b/opencti-platform/opencti-front/src/private/components/settings/groups/Root.tsx @@ -65,7 +65,7 @@ const RootGroupComponent: FunctionComponent = ({ queryR {group ? ( <> - - = ({ queryRef {role ? ( <> - { return (
- + {renderLines()} { { data.subType ? ( <> - { return (
- + { return ( {t_i18n('You do not have any access to the knowledge of this OpenCTI instance.')}}>
- diff --git a/opencti-platform/opencti-front/src/private/components/settings/users/Root.jsx b/opencti-platform/opencti-front/src/private/components/settings/users/Root.jsx index b7865b01817b..75df601e78ed 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/users/Root.jsx +++ b/opencti-platform/opencti-front/src/private/components/settings/users/Root.jsx @@ -101,7 +101,7 @@ const RootUserComponent = ({ queryRef, userId, refetch }) => { {data ? (
- { return ( <> - + {queryRef && ( { return ( <> - + {queryRef && ( { return ( <> - + {queryRef && ( { return ( <> - + {queryRef && ( { }; return ( - + {view === 'lines' ? renderLines() : ''} {view === 'subEntityLines' ? renderSubEntityLines() : ''} {!isFABReplaced && ( diff --git a/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/Root.tsx b/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/Root.tsx index a6427bb00981..cdd2c8de50f9 100644 --- a/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/Root.tsx +++ b/opencti-platform/opencti-front/src/private/components/techniques/attack_patterns/Root.tsx @@ -128,7 +128,7 @@ const RootAttackPattern = ({ attackPatternId, queryRef }: RootAttackPatternProps />
- - { const paddingRight = getPaddingRight(location.pathname, dataComponent.id, '/dashboard/techniques/data_components', false); return (
- { <> {dataSource ? (
- { />
- { return ( <> - + {viewStorage.view !== 'lines' ? renderCards() : renderList()} {!isFABReplaced && ( diff --git a/opencti-platform/opencti-front/src/private/components/threats/IntrusionSets.tsx b/opencti-platform/opencti-front/src/private/components/threats/IntrusionSets.tsx index ebf895dbc9ef..d02fb0adbf84 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/IntrusionSets.tsx +++ b/opencti-platform/opencti-front/src/private/components/threats/IntrusionSets.tsx @@ -187,7 +187,7 @@ const IntrusionSets = () => { return ( <> - + {viewStorage.view !== 'lines' ? renderCards() : renderList()} {!isFABReplaced && ( diff --git a/opencti-platform/opencti-front/src/private/components/threats/ThreatActorsGroup.tsx b/opencti-platform/opencti-front/src/private/components/threats/ThreatActorsGroup.tsx index 26b13a571cc9..483479082640 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/ThreatActorsGroup.tsx +++ b/opencti-platform/opencti-front/src/private/components/threats/ThreatActorsGroup.tsx @@ -191,7 +191,7 @@ const ThreatActorsGroup = () => { return ( <> - + {viewStorage.view !== 'lines' ? renderCards() : renderList()} {!isFABReplaced && ( diff --git a/opencti-platform/opencti-front/src/private/components/threats/ThreatActorsIndividual.tsx b/opencti-platform/opencti-front/src/private/components/threats/ThreatActorsIndividual.tsx index 8bc790958ba1..db43cb66aa24 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/ThreatActorsIndividual.tsx +++ b/opencti-platform/opencti-front/src/private/components/threats/ThreatActorsIndividual.tsx @@ -194,7 +194,7 @@ const ThreatActorsIndividual = () => { return ( <> - + {viewStorage.view !== 'lines' ? renderCards() : renderList()} {!isFABReplaced && ( diff --git a/opencti-platform/opencti-front/src/private/components/threats/campaigns/Root.tsx b/opencti-platform/opencti-front/src/private/components/threats/campaigns/Root.tsx index a0ec1dd6b5fa..de6997f02870 100644 --- a/opencti-platform/opencti-front/src/private/components/threats/campaigns/Root.tsx +++ b/opencti-platform/opencti-front/src/private/components/threats/campaigns/Root.tsx @@ -134,7 +134,7 @@ const RootCampaign = ({ campaignId, queryRef }: RootCampaignProps) => { />
-
-
-
- { }; return ( - + {renderLines()} ); diff --git a/opencti-platform/opencti-front/src/private/components/workspaces/Workspaces.tsx b/opencti-platform/opencti-front/src/private/components/workspaces/Workspaces.tsx index b6e6c9a5d447..6701aa34dd35 100644 --- a/opencti-platform/opencti-front/src/private/components/workspaces/Workspaces.tsx +++ b/opencti-platform/opencti-front/src/private/components/workspaces/Workspaces.tsx @@ -233,7 +233,6 @@ const Workspaces: FunctionComponent = ({ return ( <> { return ( <>