From 4c13f3193e53e52dcc7e746a36028c90526d7b47 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Thu, 16 May 2024 20:38:58 +0200 Subject: [PATCH] fix backgrounds not showing on time traveler shop --- website/common/script/libs/shops.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }