fix(layouts): May 2 updates

This commit is contained in:
Sabe Jones
2024-05-03 00:14:33 -05:00
parent 87fc01cb81
commit c1ca4e84b8
7 changed files with 9693 additions and 76 deletions

View File

@@ -631,6 +631,7 @@ shops.getCustomizationsShopCategories = function getCustomizationsShopCategories
}
});
let shirtsCategory; // shirts need to be at end
each(['shirt', 'skin'], type => {
const category = {
identifier: type,
@@ -651,7 +652,11 @@ shops.getCustomizationsShopCategories = function getCustomizationsShopCategories
category.items.push(item);
}
});
categories.push(category);
if (type === 'skin') {
categories.push(category);
} else {
shirtsCategory = category;
}
});
const animalEarsCategory = {
@@ -684,6 +689,8 @@ shops.getCustomizationsShopCategories = function getCustomizationsShopCategories
.map(gearItem => getItemInfo(user, 'gear', gearItem, officialPinnedItems, language));
categories.push(animalTailsCategory);
categories.push(shirtsCategory);
return categories;
};