@@ -67,7 +67,7 @@ function childItemsSummary(items: ShopItem[]): string {
6767 }
6868
6969 summary += Object .keys (counts )
70- .map ((itemType ) => ` ${counts [itemType ]} ${formatItemType (itemType ). toLocaleLowerCase () } ` )
70+ .map ((itemType ) => ` ${counts [itemType ]} ${formatItemType (itemType )} ` )
7171 .join (" \n " );
7272
7373 return summary ;
@@ -160,7 +160,7 @@ function groupedChildItems(items: ShopItem[]): ShopItem[] {
160160 <!-- Item type -->
161161 <div class =" text-xs md:text-sm" >
162162 <RouterLink :to =" { name: 'itemSales', params: { itemType: shop.item.type } }" class =" hyperlink" >
163- {{ formatItemType(shop.item.type) }}
163+ {{ formatItemType(shop.item.type).toLocaleUpperCase() }}
164164 </RouterLink >
165165 </div >
166166
@@ -194,7 +194,7 @@ function groupedChildItems(items: ShopItem[]): ShopItem[] {
194194 <div v-if =" child.parsedSNBT.enchantments.length > 0" >
195195 <div >
196196 <span >{{ child.name }}  ; </span >
197- <span class = " capitalize " >({{ formatItemType(child.type).toLowerCase( ) }})</span >
197+ <span >({{ formatItemType(child.type) }})</span >
198198 </div >
199199 <div class =" capitalize" >
200200 {{ child.parsedSNBT.enchantments.map((e) => formatEnchantment(e)).join(", ") }}
@@ -204,7 +204,7 @@ function groupedChildItems(items: ShopItem[]): ShopItem[] {
204204 <!-- Potions -->
205205 <div v-else-if =" child.parsedSNBT.potionEffect != null" class =" capitalize" >
206206 {{ child.quantity }}x {{ formatPotionEffect(child.parsedSNBT.potionEffect) }}
207- {{ formatItemType(child.type).toLowerCase() }}
207+ {{ formatItemType(child.type) }}
208208 </div >
209209
210210 <!-- Custom music discs -->
@@ -239,12 +239,12 @@ function groupedChildItems(items: ShopItem[]): ShopItem[] {
239239
240240 <!-- Bundles -->
241241 <div v-else-if =" (child.childItems?.length ?? 0) > 0" >
242- <div >{{ child.name }} (({{ formatItemType(child.type).toLowerCase() }}))</div >
242+ <div >{{ child.name }} (({{ formatItemType(child.type) }}))</div >
243243 <div >{{ child.childItems?.length }} items</div >
244244 </div >
245245
246246 <!-- All other item types -->
247- <div v-else class = " capitalize " >{{ child.quantity }}x {{ formatItemType(child.type).toLowerCase( ) }}</div >
247+ <div v-else >{{ child.quantity }}x {{ formatItemType(child.type) }}</div >
248248 </div >
249249 </div >
250250 </div >
0 commit comments