diff --git a/client/src/components/Settings/Clients/AutoClients.js b/client/src/components/Settings/Clients/AutoClients.js
index 1f750909..efbe5933 100644
--- a/client/src/components/Settings/Clients/AutoClients.js
+++ b/client/src/components/Settings/Clients/AutoClients.js
@@ -34,42 +34,24 @@ class AutoClients extends Component {
return '';
};
+ cellWrap = ({ value }) => (
+
+
+ {value}
+
+
+ );
+
columns = [
{
Header: this.props.t('table_client'),
accessor: 'ip',
- Cell: (row) => {
- if (row.value) {
- return (
-
-
- {row.value} (IP)
-
-
- );
- } else if (row.original && row.original.mac) {
- return (
-
-
- {row.original.mac} (MAC)
-
-
- );
- }
-
- return '';
- },
+ Cell: this.cellWrap,
},
{
Header: this.props.t('table_name'),
accessor: 'name',
- Cell: ({ value }) => (
-
-
- {value}
-
-
- ),
+ Cell: this.cellWrap,
},
{
Header: this.props.t('table_statistics'),