From c3492ba4d92a132f4ebaab2abf452402a95a9641 Mon Sep 17 00:00:00 2001 From: Da Kong Date: Fri, 21 Jun 2024 13:20:23 +0800 Subject: [PATCH] quick fix --- src/components/logPage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/logPage.js b/src/components/logPage.js index a592213..3eec74a 100644 --- a/src/components/logPage.js +++ b/src/components/logPage.js @@ -157,7 +157,7 @@ function getLogPageRender({ id, manifest, logType, triggerType, platformName, di title: '', type: 'boolean' }, - logType:{ + logType: { title: '', type: 'string' }, @@ -392,7 +392,7 @@ function getUnresolvedLogsPageRender({ unresolvedLogs }) { const contactName = isMultipleContactConflit ? 'Multiple contacts' : unresolvedLogs[cacheId].contactInfo[0].name; logsList.push({ const: cacheId, - title: `${contactName} (${unresolvedLogs[cacheId]?.phoneNumber ?? unresolvedLogs[cacheId].contactInfo[0].phone})`, + title: `${contactName} ${unresolvedLogs[cacheId]?.phoneNumber ? `(${unresolvedLogs[cacheId]?.phoneNumber})` : ''}`, description: isNoContact ? 'Missing: No matched contact' : (isMultipleContactConflit ? 'Conflict: Multiple matched contacts' : 'Conflict: Multiple associations'), meta: unresolvedLogs[cacheId].date, icon: unresolvedLogs[cacheId].direction === 'Inbound' ? inboundCallIcon : outboundCallIcon,