1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix status page

This commit is contained in:
Ycarus 2018-12-18 14:49:18 +01:00
parent 05a638a3d9
commit de81bec081
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@
var status = document.getElementById('openmptcprouter_status');
var temp = '<figure class="tree">';
temp += '<ul>';
if (mArray.openmptcprouter)
if (mArray !== null && mArray.openmptcprouter)
{
temp += '<li class="remote-from-lease">';
temp += '<a href="#">';