Merge: - client: Query logs fix

* commit 'caf78ae3a084f1bf298a2a12940042e1645cad2b':
  minor
  Open tooltip on hover, show scroll on overflow y
  Replace tooltip component
  -client: Fix query log bugs
This commit is contained in:
Andrey Meshkov 2020-06-24 00:11:59 +03:00
commit 4f295d41e8
2 changed files with 14 additions and 1 deletions

View File

@ -67,6 +67,17 @@ const getResponseCell = (row, filtering, t, isDetailed) => {
[FILTERED_STATUS.FILTERED_BLOCKED_SERVICE]: { [FILTERED_STATUS.FILTERED_BLOCKED_SERVICE]: {
domain, domain,
encryption_status: boldStatusLabel, encryption_status: boldStatusLabel,
install_settings_dns: upstream,
elapsed: formattedElapsedMs,
filter,
rule_label: rule,
response_code: status,
},
[FILTERED_STATUS.NOT_FILTERED_WHITE_LIST]: {
domain,
encryption_status: boldStatusLabel,
install_settings_dns: upstream,
elapsed: formattedElapsedMs,
filter, filter,
rule_label: rule, rule_label: rule,
response_code: status, response_code: status,

View File

@ -36,7 +36,9 @@ export const formatClientCell = (row, t, isDetailed = false) => {
nameContainer = isDetailed nameContainer = isDetailed
? <small title={value}>{value}</small> ? <small title={value}>{value}</small>
: <div className="logs__text logs__text--nowrap" title={`${name} (${value})`}> : <div className="logs__text logs__text--nowrap" title={`${name} (${value})`}>
{name}<small>{`(${value})`}</small> {name}
{' '}
<small>{`(${value})`}</small>
</div>; </div>;
} }