From e39700316beca26ce53da79b0474a4b9e9b710b2 Mon Sep 17 00:00:00 2001 From: Samuel Hassine Date: Thu, 19 Oct 2023 22:45:36 +0200 Subject: [PATCH] [frontend] Display missing reference errors --- .../private/components/data/connectors/ConnectorWorks.jsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorWorks.jsx b/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorWorks.jsx index 8e33072549e6..a90e6b48798f 100644 --- a/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorWorks.jsx +++ b/opencti-platform/opencti-front/src/private/components/data/connectors/ConnectorWorks.jsx @@ -175,10 +175,6 @@ class ConnectorWorksComponent extends Component { {works.map((workEge) => { const work = workEge.node; const { tracking } = work; - const errors = filter( - (n) => !n.message.includes('MissingReferenceError'), - work.errors, - ); return ( - {errors.length} {t('errors')} + {work.errors.length} {t('errors')}