+ client: show DHCP static leases all the time

This commit is contained in:
Ildar Kamalov 2019-12-18 13:40:05 +03:00
parent b9c0b55356
commit 60cbb93488
1 changed files with 36 additions and 38 deletions

View File

@ -219,7 +219,6 @@ class Dhcp extends Component {
</div> </div>
</Card> </Card>
{dhcp.config.enabled && ( {dhcp.config.enabled && (
<Fragment>
<Card <Card
title={t('dhcp_leases')} title={t('dhcp_leases')}
bodyType="card-body box-body--settings" bodyType="card-body box-body--settings"
@ -230,6 +229,7 @@ class Dhcp extends Component {
</div> </div>
</div> </div>
</Card> </Card>
)}
<Card <Card
title={t('dhcp_static_leases')} title={t('dhcp_static_leases')}
bodyType="card-body box-body--settings" bodyType="card-body box-body--settings"
@ -260,8 +260,6 @@ class Dhcp extends Component {
</Fragment> </Fragment>
)} )}
</Fragment> </Fragment>
)}
</Fragment>
); );
} }
} }