Skip to content

Commit a7acf27

Browse files
committed
[frontend] fix (#11517)
1 parent c95c110 commit a7acf27

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

opencti-platform/opencti-front/src/private/components/cases/case_incidents/IncidentKnowledge.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class IncidentKnowledgeComponent extends Component {
275275
stixDomainObjectId={caseData.id}
276276
defaultStartTime={caseData.first_seen}
277277
defaultStopTime={caseData.last_seen}
278-
entityType={caseDate.entity_type}
278+
entityType={caseData.entity_type}
279279
/>
280280
}
281281
/>
@@ -303,6 +303,7 @@ const IncidentKnowledge = createFragmentContainer(IncidentKnowledgeComponent, {
303303
caseData: graphql`
304304
fragment IncidentKnowledge_case on CaseIncident {
305305
id
306+
entity_type
306307
editContext {
307308
name
308309
focusOn

opencti-platform/opencti-front/src/private/components/cases/case_rfis/CaseRfiKnowledge.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ const CaseRfiKnowledge = createFragmentContainer(CaseRfiKnowledgeComponent, {
304304
caseData: graphql`
305305
fragment CaseRfiKnowledge_case on CaseRfi {
306306
id
307+
entity_type
307308
editContext {
308309
name
309310
focusOn

opencti-platform/opencti-front/src/private/components/cases/case_rfts/CaseRftKnowledge.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ class CaseRftKnowledgeComponent extends Component {
276276
element={(
277277
<StixDomainObjectAttackPatterns
278278
stixDomainObjectId={caseData.id}
279-
entityType={caseDate.entity_type}
279+
entityType={caseData.entity_type}
280280
/>
281281
)}
282282
/>
@@ -304,6 +304,7 @@ const CaseRftKnowledge = createFragmentContainer(CaseRftKnowledgeComponent, {
304304
caseData: graphql`
305305
fragment CaseRftKnowledge_case on CaseRft {
306306
id
307+
entity_type
307308
editContext {
308309
name
309310
focusOn

0 commit comments

Comments
 (0)