Fix category filtering for parameteric part table (#4861)

This commit is contained in:
Oliver 2023-05-21 23:17:28 +10:00 committed by GitHub
parent 9e77b9fc56
commit 8dc45e49cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -297,9 +297,11 @@
loadParametricPartTable(
"#parametric-part-table",
{
{% if category %}
category: {{ category.pk }},
{% endif %}
params: {
{% if category %}
category: {{ category.pk }},
{% endif %}
},
}
);
});