Pull request 1775: 5581-leases-table-mobile
Updates #5581. Squashed commit of the following: commit 2034c2f9c369f5e2a6e9826090fffa356fc16624 Author: Vladislav Abdulmyanov <v.abdulmyanov@adguard.com> Date: Mon Mar 20 17:44:40 2023 +0200 client: fix static leases commit be509f0037af58a0e0e8c82d283b14910c20110b Author: Vladislav Abdulmyanov <v.abdulmyanov@adguard.com> Date: Mon Mar 20 17:23:34 2023 +0200 client: fix leases table on mobile
This commit is contained in:
parent
48431f8b86
commit
1daabb97e5
|
@ -23,19 +23,23 @@ class Leases extends Component {
|
||||||
{
|
{
|
||||||
Header: 'MAC',
|
Header: 'MAC',
|
||||||
accessor: 'mac',
|
accessor: 'mac',
|
||||||
|
minWidth: 160,
|
||||||
Cell: this.cellWrap,
|
Cell: this.cellWrap,
|
||||||
}, {
|
}, {
|
||||||
Header: 'IP',
|
Header: 'IP',
|
||||||
accessor: 'ip',
|
accessor: 'ip',
|
||||||
|
minWidth: 230,
|
||||||
Cell: this.cellWrap,
|
Cell: this.cellWrap,
|
||||||
sortMethod: sortIp,
|
sortMethod: sortIp,
|
||||||
}, {
|
}, {
|
||||||
Header: <Trans>dhcp_table_hostname</Trans>,
|
Header: <Trans>dhcp_table_hostname</Trans>,
|
||||||
accessor: 'hostname',
|
accessor: 'hostname',
|
||||||
|
minWidth: 230,
|
||||||
Cell: this.cellWrap,
|
Cell: this.cellWrap,
|
||||||
}, {
|
}, {
|
||||||
Header: <Trans>dhcp_table_expires</Trans>,
|
Header: <Trans>dhcp_table_expires</Trans>,
|
||||||
accessor: 'expires',
|
accessor: 'expires',
|
||||||
|
minWidth: 130,
|
||||||
Cell: this.cellWrap,
|
Cell: this.cellWrap,
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
|
|
@ -54,17 +54,20 @@ const StaticLeases = ({
|
||||||
{
|
{
|
||||||
Header: 'MAC',
|
Header: 'MAC',
|
||||||
accessor: 'mac',
|
accessor: 'mac',
|
||||||
|
minWidth: 160,
|
||||||
Cell: cellWrap,
|
Cell: cellWrap,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Header: 'IP',
|
Header: 'IP',
|
||||||
accessor: 'ip',
|
accessor: 'ip',
|
||||||
|
minWidth: 230,
|
||||||
sortMethod: sortIp,
|
sortMethod: sortIp,
|
||||||
Cell: cellWrap,
|
Cell: cellWrap,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Header: <Trans>dhcp_table_hostname</Trans>,
|
Header: <Trans>dhcp_table_hostname</Trans>,
|
||||||
accessor: 'hostname',
|
accessor: 'hostname',
|
||||||
|
minWidth: 230,
|
||||||
Cell: cellWrap,
|
Cell: cellWrap,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue