- client: fix settings page if current interface doesn't exist

Closes #664
This commit is contained in:
Ildar Kamalov 2019-03-28 11:53:39 +03:00
parent 6f2e852e09
commit 6f014fa53d
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@ let Interface = (props) => {
</div>
{interfaceValue &&
<div className="col-sm-12 col-md-6">
{renderInterfaceValues(interfaces[interfaceValue])}
{interfaces[interfaceValue] &&
renderInterfaceValues(interfaces[interfaceValue])}
</div>
}
</div>