-(home): fix whois info on the dashboard

This commit is contained in:
Andrey Meshkov 2019-12-11 14:31:38 +03:00
parent 0a66913b4d
commit daf17f16f2
1 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ export const formatClientCell = (row, t) => {
let nameContainer = value; let nameContainer = value;
if (info) { if (info) {
const { name, whois } = info; const { name, whois_info } = info;
if (name) { if (name) {
nameContainer = ( nameContainer = (
@ -38,10 +38,10 @@ export const formatClientCell = (row, t) => {
); );
} }
if (whois) { if (whois_info) {
whoisContainer = ( whoisContainer = (
<div className="logs__text logs__text--wrap logs__text--whois"> <div className="logs__text logs__text--wrap logs__text--whois">
{getFormattedWhois(whois, t)} {getFormattedWhois(whois_info, t)}
</div> </div>
); );
} }