From 319491b2367d72774546032366658673c8e5bff6 Mon Sep 17 00:00:00 2001 From: jiyuujin Date: Sat, 5 Oct 2024 21:47:53 +0900 Subject: [PATCH 1/3] endedPurchaseStore --- apps/web/app/components/StorePageSection.vue | 7 +++++-- apps/web/app/utils/constants.ts | 2 ++ packages/model/lib/store.ts | 1 + packages/ui/components/store/Product.vue | 9 +++++++-- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/apps/web/app/components/StorePageSection.vue b/apps/web/app/components/StorePageSection.vue index 215b6168..068a3e39 100644 --- a/apps/web/app/components/StorePageSection.vue +++ b/apps/web/app/components/StorePageSection.vue @@ -2,7 +2,7 @@ import { useTranslation } from '~/composables/useTranslation' import type { Product } from '@vuejs-jp/model' import MarkDownText from '~/components/MarkDownText.vue' -import { storeUrl } from '~/utils/constants' +import { endedPurchaseStore, storeUrl } from '~/utils/constants' const { translate: t } = useTranslation() @@ -117,6 +117,7 @@ const products: Product[] = [ rel="noreferrer" background-color="vue-green/200" color="white" + :disabled="endedPurchaseStore" > {{ $t('store.preorder') }} @@ -125,7 +126,7 @@ const products: Product[] = [
- +