Quick fix singleCat should have proper value (#3051)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2023-04-24 01:20:33 +07:00 committed by GitHub
parent 67b7c9df24
commit 6d17fc0117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,7 +241,7 @@
{config} {config}
{itemModels} {itemModels}
{_class} {_class}
singleCat={level === 0 && viewOptions.groupBy.length === 1} singleCat={level === 0 && categories.length === 1}
oneCat={viewOptions.groupBy.length === 1} oneCat={viewOptions.groupBy.length === 1}
lastCat={i === categories.length - 1} lastCat={i === categories.length - 1}
{category} {category}