From 9083b327f48d8ebcbecf5bd3c8a52b7624700173 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 11 Nov 2024 12:53:15 +0530 Subject: [PATCH] fix: removed baseAPIPath since fc billing api helper is moved to frappe framework --- frappe-ui | 2 +- frontend/src/components/Layouts/AppSidebar.vue | 1 - frontend/src/components/Settings/Settings.vue | 5 +++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frappe-ui b/frappe-ui index 526e5f8b..b8f44434 160000 --- a/frappe-ui +++ b/frappe-ui @@ -1 +1 @@ -Subproject commit 526e5f8b0651201294fcde4ecb602721bbe83368 +Subproject commit b8f444344d5993dcd12304f53243be9f65f5626e diff --git a/frontend/src/components/Layouts/AppSidebar.vue b/frontend/src/components/Layouts/AppSidebar.vue index a4aa7627..723ac60a 100644 --- a/frontend/src/components/Layouts/AppSidebar.vue +++ b/frontend/src/components/Layouts/AppSidebar.vue @@ -75,7 +75,6 @@ diff --git a/frontend/src/components/Settings/Settings.vue b/frontend/src/components/Settings/Settings.vue index 68b12c42..e8be472a 100644 --- a/frontend/src/components/Settings/Settings.vue +++ b/frontend/src/components/Settings/Settings.vue @@ -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'), }), ),