Skip to content
Snippets Groups Projects
Commit eacedd60 authored by Fabian Heinrich's avatar Fabian Heinrich
Browse files

Small fix when generating layout thumbnail

parent aa1c2529
No related branches found
No related tags found
1 merge request!110V1.2.0 changes
Pipeline #64057 passed
......@@ -74,7 +74,7 @@ def layout_thumbnail(layout_path, vis, max_size, item_lookup, layout_hashes, lay
return t
if t in item_lookup:
i = item_lookup[t]
if i.type == ItemType.Equipment and i.equipment:
if i.type == ItemType.Equipment and i.equipment and i.name != "Plate":
return i.equipment.name
if i.type == ItemType.Ingredient:
return f"{t}Dispenser"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment