diff --git a/website/common/script/libs/shops.js b/website/common/script/libs/shops.js index 553ba3588d..a5e0dfa80d 100644 --- a/website/common/script/libs/shops.js +++ b/website/common/script/libs/shops.js @@ -364,7 +364,7 @@ shops.getTimeTravelersCategories = function getTimeTravelersCategories (user, la backgroundCategory.items.push(item); } } - if (backgroundCategory.length > 0) { + if (backgroundCategory.items.length > 0) { categories.push(backgroundCategory); }