diff --git a/client/src/components/Logs/Cells/DomainCell.js b/client/src/components/Logs/Cells/DomainCell.js index 4333089c..47d14846 100644 --- a/client/src/components/Logs/Cells/DomainCell.js +++ b/client/src/components/Logs/Cells/DomainCell.js @@ -14,6 +14,7 @@ import IconTooltip from './IconTooltip'; const DomainCell = ({ answer_dnssec, + service_name, client_proto, domain, time, @@ -49,6 +50,10 @@ const DomainCell = ({ protocol, }; + if (service_name) { + requestDetailsObj.check_service = service_name; + } + const sourceData = getSourceData(tracker); const knownTrackerDataObj = { @@ -98,7 +103,7 @@ const DomainCell = ({ xlinkHref='privacy' contentItemClass='key-colon' renderContent={renderContent} place='bottom' />
-
{domain}
+
{service_name || domain}
{details && isDetailed &&
{details}
} @@ -112,6 +117,7 @@ DomainCell.propTypes = { domain: propTypes.string.isRequired, time: propTypes.string.isRequired, type: propTypes.string.isRequired, + service_name: propTypes.string, tracker: propTypes.object, }; diff --git a/client/src/helpers/helpers.js b/client/src/helpers/helpers.js index 9fdd9fad..fa3a5046 100644 --- a/client/src/helpers/helpers.js +++ b/client/src/helpers/helpers.js @@ -97,7 +97,7 @@ export const normalizeLogs = (logs) => logs.map((log) => { filterId, rule, status, - serviceName: service_name, + service_name, originalAnswer: original_answer, originalResponse: processResponse(original_answer), tracker: getTrackerData(domain),