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
|
@ -130,11 +130,13 @@ return baseclass.extend({
|
|||
container_devices_list.appendChild(container_devices_item);
|
||||
}
|
||||
|
||||
container_devices.appendChild(container_devices_list);
|
||||
container_box.appendChild(E('hr'));
|
||||
container_box.appendChild(container_devices);
|
||||
container_box.appendChild(container_devices_list);
|
||||
container_wapper.appendChild(container_box);
|
||||
if (this.params.wifi.devices.length > 0) {
|
||||
container_devices.appendChild(container_devices_list);
|
||||
container_box.appendChild(E('hr'));
|
||||
container_box.appendChild(container_devices);
|
||||
container_box.appendChild(container_devices_list);
|
||||
container_wapper.appendChild(container_box);
|
||||
}
|
||||
|
||||
return container_wapper;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue