Host pools gui fixes and improvements

- Fix selectable "Not Assigned" pool in manage pools
- Hide "Unassigned Devices" tab for interfaces without macs
- Add note in "Unassigned Devices" to explain the list shown

Fixes #2486
This commit is contained in:
emanuele-f 2019-04-19 12:42:12 +02:00
parent fbcf2f4948
commit dfc9de74a0
6 changed files with 19 additions and 16 deletions

View file

@ -1164,7 +1164,6 @@ end
function poolDropdown(ifId, pool_id, exclude)
local output = {}
--exclude = exclude or {[host_pools_utils.DEFAULT_POOL_ID]=true}
exclude = exclude or {}
for _,pool in ipairs(host_pools_utils.getPoolsList(ifId)) do