package manager + tweaks to milo

This commit is contained in:
kepler155c
2018-11-06 16:21:31 -05:00
parent d113b1da1a
commit 01452ced72
9 changed files with 117 additions and 63 deletions

View File

@@ -58,7 +58,7 @@ local machinesPage = UI.Page {
function machinesPage.grid:getDisplayValues(row)
row = Util.shallowCopy(row)
local t = { row.name:match(':(.+)_(%d+)') }
local t = { row.name:match(':(.+)_(%d+)$') }
if t and #t == 2 then
row.name, row.suffix = table.unpack(t)
row.name = row.name .. '_' .. row.suffix