diff --git a/client/src/components/Settings/Clients/index.js b/client/src/components/Settings/Clients/index.js index 948252a0..526d8d57 100644 --- a/client/src/components/Settings/Clients/index.js +++ b/client/src/components/Settings/Clients/index.js @@ -46,7 +46,7 @@ class Clients extends Component { } return { - identifier: 'ip', + identifier: CLIENT_ID.IP, use_global_settings: true, }; }; @@ -71,15 +71,7 @@ class Clients extends Component { Header: this.props.t('table_client'), accessor: 'ip', Cell: (row) => { - if (row.value) { - return ( -
- - {row.value} (IP) - -
- ); - } else if (row.original && row.original.mac) { + if (row.original && row.original.mac) { return (
@@ -87,6 +79,14 @@ class Clients extends Component {
); + } else if (row.value) { + return ( +
+ + {row.value} (IP) + +
+ ); } return '';