diff --git a/src/lib/components/market/sticker_display.ts b/src/lib/components/market/sticker_display.ts
index 682efb77..b4943e5c 100644
--- a/src/lib/components/market/sticker_display.ts
+++ b/src/lib/components/market/sticker_display.ts
@@ -109,7 +109,7 @@ export class StickerDisplay extends FloatElement {
- ${item.value}
+ ${item.value ? html`${item.value}` : nothing}
`;
}
@@ -196,13 +196,18 @@ export class StickerDisplay extends FloatElement {
private loadKeychains(): void {
const description = this.keychainDescription;
- if (description?.type !== 'html' || description.value.includes('sticker')) {
+ if (
+ description?.type !== 'html' ||
+ (description.value.includes('sticker') && !description.value.includes('Sticker Slab'))
+ ) {
this.keychains = [];
return;
}
this.keychains = this.parseAppliedItems(description, AppliedType.Charm, (index) => {
- return `#${this.itemInfo.keychains[index]?.pattern}`;
+ // Sticker Slabs don't have a pattern
+ const pattern = this.itemInfo.keychains[index]?.pattern;
+ return pattern ? `#${pattern}` : '';
});
}