Fix URL encoding upon retrieving schemas (#2567)

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
This commit is contained in:
Kris-K-Dev 2022-09-14 09:20:41 -05:00 committed by GitHub
parent df2b2e01de
commit ed8b84b414
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ const LinkCell: React.FC<CellContext<any, unknown>> = ({ getValue }) => {
const value = `${getValue<string | number>()}`;
const handleClick: React.MouseEventHandler = (e) => e.stopPropagation();
return (
<NavLink to={value} title={value} onClick={handleClick}>
<NavLink to={encodeURIComponent(value)} title={value} onClick={handleClick}>
{value}
</NavLink>
);