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
i3 = {
version = 173,
data = core.deserialize(storage:get_string"data") or {},
settings = {

View File

@ -998,7 +998,7 @@ local function get_grid_fs(fs, data, rcp, is_recipe)
if is_group(name) then
groups = group_cache and group_cache.groups or extract_groups(name)
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
local label = groups and "\nG" or ""