Update Billing Tab Condition in Settings Page

Change the condition for displaying the Billing tab from checking user subscription status to verifying the presence of a customer ID
This commit is contained in:
Julien Nahum 2025-01-27 11:37:36 +01:00
parent b5f5f40753
commit a91c194161
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ const tabsList = computed(() => {
},
]
if (user?.value?.is_subscribed) {
if (user?.value?.has_customer_id) {
tabs.splice(1, 0, {
name: "Billing",
route: "settings-billing",