Skip to content

Commit

Permalink
fix: removed baseAPIPath since fc billing api helper is moved to frap…
Browse files Browse the repository at this point in the history
…pe framework
  • Loading branch information
shariquerik committed Nov 11, 2024
1 parent bfa52fb commit 9083b32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion frontend/src/components/Layouts/AppSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
</div>
</div>
<TrialBanner
baseAPIPath="crm.api.saas_billing"
:isSidebarCollapsed="isSidebarCollapsed"
@upgradePlan="showBillingSettingPage"
/>
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/components/Settings/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
}),
),
Expand Down

0 comments on commit 9083b32

Please sign in to comment.