Improve stackedProgressBars

This commit is contained in:
emanuele-f 2018-12-13 17:26:31 +01:00
parent a202639c24
commit 96ce6c0cf5
7 changed files with 26 additions and 9 deletions

View file

@ -65,6 +65,14 @@ function storage_utils.storageInfo()
local ifid = tonumber(id)
local if_info = storage_utils.interfaceStorageInfo(ifid)
info.interfaces[ifid] = if_info
info.interfaces[ifid + 20] = if_info
info.interfaces[ifid + 30] = if_info
info.interfaces[ifid + 40] = if_info
info.interfaces[ifid + 50] = if_info
info.interfaces[ifid + 60] = if_info
info.interfaces[ifid + 70] = if_info
info.interfaces[ifid + 80] = if_info
info.interfaces[ifid + 90] = if_info
info.total = info.total + if_info.total
end