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:
@@ -87,7 +87,7 @@ const tabsList = computed(() => {
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
if (user?.value?.is_subscribed) {
|
if (user?.value?.has_customer_id) {
|
||||||
tabs.splice(1, 0, {
|
tabs.splice(1, 0, {
|
||||||
name: "Billing",
|
name: "Billing",
|
||||||
route: "settings-billing",
|
route: "settings-billing",
|
||||||
|
|||||||
Reference in New Issue
Block a user