Skip to content

Commit fe11d7e

Browse files
committed
fix: linting
1 parent 83c012d commit fe11d7e

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

opencti-platform/opencti-front/src/private/components/data/feeds/FeedCreation.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,9 @@ const FeedCreation: FunctionComponent<FeedCreationFormProps> = (props) => {
702702
onChange={(event) => handleChangeNeighborMapping(i, selectedType, 'target_entity_type', event.target.value)}
703703
>
704704
{currentMapping?.relationship_type
705-
&& getTargetTypesForRelationship(selectedType, currentMapping.relationship_type, schema.schemaRelationsTypesMapping).map((tt) => (
705+
&& getTargetTypesForRelationship(
706+
selectedType, currentMapping.relationship_type, schema.schemaRelationsTypesMapping,
707+
).map((tt) => (
706708
<MenuItem key={tt} value={tt}>
707709
{t_i18n(`entity_${tt}`)}
708710
</MenuItem>

opencti-platform/opencti-front/src/private/components/data/feeds/FeedEdition.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,9 @@ const FeedEditionContainer = (props) => {
646646
onChange={(event) => handleChangeNeighborMapping(i, selectedType, 'target_entity_type', event.target.value)}
647647
>
648648
{currentMapping?.relationship_type
649-
&& getTargetTypesForRelationship(selectedType, currentMapping.relationship_type, schema.schemaRelationsTypesMapping).map((tt) => (
649+
&& getTargetTypesForRelationship(
650+
selectedType, currentMapping.relationship_type, schema.schemaRelationsTypesMapping,
651+
).map((tt) => (
650652
<MenuItem key={tt} value={tt}>
651653
{t_i18n(`entity_${tt}`)}
652654
</MenuItem>

0 commit comments

Comments
 (0)