Skip to content

Commit

Permalink
[frontend] Fix add threat actor individual in workbench (#7346)
Browse files Browse the repository at this point in the history
  • Loading branch information
marieflorescontact authored Jul 5, 2024
1 parent 3ac0509 commit c0b9cd6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1059,12 +1059,12 @@ const WorkbenchFileContentComponent = ({
};
if (updatedEntity.type === 'identity' && !updatedEntity.identity_class) {
updatedEntity.identity_class = resolveIdentityClass(entityType);
} else if (
updatedEntity.type === 'location'
&& !updatedEntity.x_opencti_location_type
) {
} else if (updatedEntity.type === 'location' && !updatedEntity.x_opencti_location_type) {
updatedEntity.x_opencti_location_type = entityType;
}
if (updatedEntity.type === 'threat-actor' && !updatedEntity.x_opencti_type) {
updatedEntity.x_opencti_type = entityType;
}
setStixDomainObjects(
uniqWithByFields(
uniqStixDomainObjectsFields,
Expand Down

0 comments on commit c0b9cd6

Please sign in to comment.