From daf17f16f2a71aa24534aad3c0138d6807fb322b Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Wed, 11 Dec 2019 14:31:38 +0300 Subject: [PATCH] -(home): fix whois info on the dashboard --- client/src/helpers/formatClientCell.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/helpers/formatClientCell.js b/client/src/helpers/formatClientCell.js index c5626061..0de3af79 100644 --- a/client/src/helpers/formatClientCell.js +++ b/client/src/helpers/formatClientCell.js @@ -28,7 +28,7 @@ export const formatClientCell = (row, t) => { let nameContainer = value; if (info) { - const { name, whois } = info; + const { name, whois_info } = info; if (name) { nameContainer = ( @@ -38,10 +38,10 @@ export const formatClientCell = (row, t) => { ); } - if (whois) { + if (whois_info) { whoisContainer = (
- {getFormattedWhois(whois, t)} + {getFormattedWhois(whois_info, t)}
); }