Minor fix

This commit is contained in:
Jean-Patrick Guerrero 2022-07-01 15:15:21 +02:00
parent 3f2d983091
commit f26c6af9c4
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ local function lf(path)
end end
i3 = { i3 = {
version = 173,
data = core.deserialize(storage:get_string"data") or {}, data = core.deserialize(storage:get_string"data") or {},
settings = { settings = {

View File

@ -998,7 +998,7 @@ local function get_grid_fs(fs, data, rcp, is_recipe)
if is_group(name) then if is_group(name) then
groups = group_cache and group_cache.groups or extract_groups(name) groups = group_cache and group_cache.groups or extract_groups(name)
name = group_cache and (group_cache.stereotype or group_cache.items[1]) or name = group_cache and (group_cache.stereotype or group_cache.items[1]) or
groups_to_items(groups)[1] groups_to_items(groups)[1] or ""
end end
local label = groups and "\nG" or "" local label = groups and "\nG" or ""