fix: removed baseAPIPath since fc billing api helper is moved to frappe framework

This commit is contained in:
Shariq Ansari 2024-11-11 12:53:15 +05:30
parent bfa52fbd6f
commit 9083b327f4
3 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit 526e5f8b0651201294fcde4ecb602721bbe83368
Subproject commit b8f444344d5993dcd12304f53243be9f65f5626e

View File

@ -75,7 +75,6 @@
</div>
</div>
<TrialBanner
baseAPIPath="crm.api.saas_billing"
:isSidebarCollapsed="isSidebarCollapsed"
@upgradePlan="showBillingSettingPage"
/>

View File

@ -90,14 +90,15 @@ const tabs = computed(() => {
{
label: 'Plans',
icon: PlansIcon,
component: markRaw(h(Plans, { baseAPIPath: 'crm.api.saas_billing' })),
component: markRaw(
h(Plans, { onSuccess: () => setActiveTab('Billing') }),
),
},
{
label: 'Billing',
icon: BillingIcon,
component: markRaw(
h(Billing, {
baseAPIPath: 'crm.api.saas_billing',
onChangePlan: () => setActiveTab('Plans'),
}),
),