mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Display wifi and dhcp only if needed
This commit is contained in:
parent
c24c0dd335
commit
1475c55343
3 changed files with 26 additions and 20 deletions
|
@ -70,11 +70,13 @@ return baseclass.extend({
|
|||
]));
|
||||
}
|
||||
|
||||
container_box.appendChild(E('hr'));
|
||||
container_box.appendChild(container_devices);
|
||||
container_box.appendChild(E('hr'));
|
||||
container_box.appendChild(container_deviceslist);
|
||||
container_wapper.appendChild(container_box);
|
||||
if (this.params.lan.devices.length > 0) {
|
||||
container_box.appendChild(E('hr'));
|
||||
container_box.appendChild(container_devices);
|
||||
container_box.appendChild(E('hr'));
|
||||
container_box.appendChild(container_deviceslist);
|
||||
container_wapper.appendChild(container_box);
|
||||
}
|
||||
|
||||
return container_wapper;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue