From 6df3d7ac614a2da48c3567dac0817793f5da3697 Mon Sep 17 00:00:00 2001 From: u6parum Date: Sat, 20 Feb 2021 12:58:14 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BA=D1=80=D1=8B=D1=82=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=BF=D1=83=D1=81=D1=82=D0=BE=D0=B3=D0=BE=20=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D1=8F=20"=D0=92=D0=BD=D0=B5=D1=88=D0=BD=D0=B8=D0=B9=20=D0=B8?= =?UTF-8?q?=D1=81=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8=D1=82=D0=B5=D0=BB=D1=8C"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SummaryContainer/SummaryContainer.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/webparts/summaryWebPart/components/SummaryContainer/SummaryContainer.tsx b/src/webparts/summaryWebPart/components/SummaryContainer/SummaryContainer.tsx index 135334f..e128568 100644 --- a/src/webparts/summaryWebPart/components/SummaryContainer/SummaryContainer.tsx +++ b/src/webparts/summaryWebPart/components/SummaryContainer/SummaryContainer.tsx @@ -183,9 +183,11 @@ export default class SummaryContainer extends React.Component { const { items } = this.state; + let externalResp = null; - items.forEach(function(e) { + items.forEach(function(e) { if(e.fieldName == 'Внешний исполнитель') { + externalResp = e; let value = [] e.value.split(';#').forEach(function(item) { if(item) { @@ -201,13 +203,19 @@ export default class SummaryContainer extends React.Component item.fieldName !== externalResp.fieldName); + } + return (