fix: corrige URL de giftcards
This commit is contained in:
@@ -152,13 +152,11 @@
|
||||
</div>
|
||||
<div class="flex flex-wrap items-center gap-3">
|
||||
<span class="text-[15px] font-medium text-[#292524]">{{ formatCurrency(card.balance) }}</span>
|
||||
<span
|
||||
class="inline-flex rounded-full px-2.5 py-1 text-xs font-semibold uppercase"
|
||||
<span class="inline-flex rounded-full px-2.5 py-1 text-xs font-semibold uppercase"
|
||||
:class="card.is_active ? 'bg-[rgba(167,229,211,0.62)] text-[#0c0a09]' : 'bg-[#f0efed] text-[#777169]'">
|
||||
{{ card.is_active ? 'Ativo' : 'Inativo' }}
|
||||
</span>
|
||||
<button type="button"
|
||||
class="text-[15px] font-medium text-[#0c0a09] underline-offset-2 hover:underline"
|
||||
<button type="button" class="text-[15px] font-medium text-[#0c0a09] underline-offset-2 hover:underline"
|
||||
@click="preencherCodigo(card.code)">
|
||||
Usar código
|
||||
</button>
|
||||
@@ -188,8 +186,7 @@ definePageMeta({
|
||||
middleware: 'auth'
|
||||
})
|
||||
|
||||
const config = useRuntimeConfig()
|
||||
const GIFT_CARD_API_BASE_URL = config.public.giftCardApiUrl
|
||||
const GIFT_CARD_API_BASE_URL = 'https://giftcardapipedro-production.up.railway.app/api'
|
||||
|
||||
const { $toast } = useNuxtApp()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user