diff --git a/website/client/src/components/shops/buyModal.vue b/website/client/src/components/shops/buyModal.vue
index 013c291d55..66c90b182a 100644
--- a/website/client/src/components/shops/buyModal.vue
+++ b/website/client/src/components/shops/buyModal.vue
@@ -385,7 +385,6 @@ import EquipmentAttributesGrid from '../inventory/equipment/attributesGrid.vue';
import Item from '@/components/inventory/item';
import Avatar from '@/components/avatar';
-import seasonalShopConfig from '@/../../common/script/libs/shops-seasonal.config';
import { drops as dropEggs } from '@/../../common/script/content/eggs';
import { drops as dropPotions } from '@/../../common/script/content/hatching-potions';
@@ -438,7 +437,6 @@ export default {
selectedAmountToBuy: 1,
isPinned: false,
- endDate: seasonalShopConfig.dateRange.end,
};
},
computed: {
@@ -489,6 +487,9 @@ export default {
nonSubscriberHourglasses () {
return (!this.user.purchased.plan.customerId && !this.user.purchased.plan.consecutive.trinkets && this.getPriceClass() === 'hourglasses');
},
+ endDate () {
+ return moment(this.item.event.end);
+ },
},
watch: {
item: function itemChanged () {
diff --git a/website/client/src/components/shops/market/categoryRow.vue b/website/client/src/components/shops/market/categoryRow.vue
index eada1073a0..77610d2ae2 100644
--- a/website/client/src/components/shops/market/categoryRow.vue
+++ b/website/client/src/components/shops/market/categoryRow.vue
@@ -8,16 +8,6 @@
:popover-position="'top'"
@click="itemSelected(item)"
>
-
- {{ $t('maxBuyGems') }}
- {{ item.text }}
-
- {{ limitedString }}
-
-
0 || diffDuration.months() > 0) {
- this.limitedString = this.$t('limitedAvailabilityDays', {
- days: moment(seasonalShopConfig.dateRange.end).diff(moment(), 'days'),
- hours: diffDuration.hours(),
- minutes: diffDuration.minutes(),
- });
- } else if (diffDuration.asMinutes() > 2) {
- this.limitedString = this.$t('limitedAvailabilityHours', {
- hours: diffDuration.hours(),
- minutes: diffDuration.minutes(),
- });
- } else {
- this.limitedString = this.$t('limitedAvailabilityMinutes', {
- minutes: diffDuration.minutes(),
- seconds: diffDuration.seconds(),
- });
- }
- },
- cancelAutoUpdate () {
- clearInterval(this.timer);
- },
},
};