mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-09-11 10:45:42 +03:00
Pull request: client: use strict search by client
Updates #4271. Squashed commit of the following: commit 10a113126306fce51b4dd10a696b8c7d3213a445 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Feb 11 18:37:18 2022 +0300 client: more strict search commit 7aa24129195c0eba442bfe43564469fdb2a5b138 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Feb 11 18:22:18 2022 +0300 client: use strict search by client
This commit is contained in:
parent
6824eec308
commit
b43aa86cae
@ -199,7 +199,7 @@ const ClientCell = ({
|
||||
{isDetailed && clientName && !whoisAvailable && (
|
||||
<Link
|
||||
className="detailed-info d-none d-sm-block logs__text logs__text--link"
|
||||
to={`logs?search=${encodeURIComponent(clientName)}`}
|
||||
to={`logs?search="${encodeURIComponent(clientName)}"`}
|
||||
title={clientName}
|
||||
>
|
||||
{clientName}
|
||||
|
@ -64,7 +64,7 @@ export const renderFormattedClientCell = (value, info, isDetailed = false, isLog
|
||||
}
|
||||
|
||||
return <div className="logs__text mw-100" title={value}>
|
||||
<Link to={`logs?search=${encodeURIComponent(value)}`}>{nameContainer}</Link>
|
||||
<Link to={`logs?search="${encodeURIComponent(value)}"`}>{nameContainer}</Link>
|
||||
{whoisContainer}
|
||||
</div>;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user