Skip to content

Commit

Permalink
fix: do not display empty packagings materials panel (#8632)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanegigandet committed Jun 29, 2023
1 parent 2be152e commit 6621834
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,14 @@
"panel_id": "packaging_components",
},
},
[% IF (product.packagings_materials AND product.packagings_materials.size) %]
{
"element_type": "panel",
"panel_element": {
"panel_id": "packaging_materials",
},
},
},
[% END %]
]
[% END %]
}

0 comments on commit 6621834

Please sign in to comment.