diff --git a/website/client/src/components/shops/buyModal.vue b/website/client/src/components/shops/buyModal.vue index e50d4d542e..3ce92d9b14 100644 --- a/website/client/src/components/shops/buyModal.vue +++ b/website/client/src/components/shops/buyModal.vue @@ -825,20 +825,21 @@ export default { ) return; } - const shouldConfirmPurchase = this.item.currency === 'gems' || this.item.currency === 'hourglasses'; - if ( - shouldConfirmPurchase - && !this.confirmPurchase(this.item.currency, this.item.value * this.selectedAmountToBuy) - ) { - return; - } - if (this.item.purchaseType === 'customization') { await this.unlock(this.item.path); this.sync(); - } else if (this.genericPurchase) { - this.makeGenericPurchase(this.item, 'buyModal', this.selectedAmountToBuy); - this.purchased(this.item.text); + } else { + const shouldConfirmPurchase = this.item.currency === 'gems' || this.item.currency === 'hourglasses'; + if ( + shouldConfirmPurchase + && !this.confirmPurchase(this.item.currency, this.item.value * this.selectedAmountToBuy) + ) { + return; + } + if (this.genericPurchase) { + this.makeGenericPurchase(this.item, 'buyModal', this.selectedAmountToBuy); + this.purchased(this.item.text); + } } this.$emit('buyPressed', this.item); diff --git a/website/client/src/components/shops/customizations/index.vue b/website/client/src/components/shops/customizations/index.vue index 1c7bfc57aa..d90fb58a40 100644 --- a/website/client/src/components/shops/customizations/index.vue +++ b/website/client/src/components/shops/customizations/index.vue @@ -55,6 +55,8 @@ :item-width="94" :item-margin="24" :max-items-per-row="8" + :no-items-label="emptyStateString(category.identifier)" + @emptyClick="emptyClick(category.identifier, $event)" >
-

- {{ noItemsLabel }} +

@import '~@/assets/scss/colors.scss'; - .item-rows { - max-width: 944px; - } - .btn-show-more { max-width: 920px; } + + .empty-state { + color: $gray-100; + } + + .item-rows { + max-width: 944px; + }