diff --git a/app/javascript/dashboard/api/helpCenter/portals.js b/app/javascript/dashboard/api/helpCenter/portals.js index a71f18f5c..520453540 100644 --- a/app/javascript/dashboard/api/helpCenter/portals.js +++ b/app/javascript/dashboard/api/helpCenter/portals.js @@ -6,8 +6,8 @@ class PortalsAPI extends ApiClient { super('portals', { accountScoped: true }); } - updatePortal({ portalSlug, params }) { - return axios.patch(`${this.url}/${portalSlug}`, params); + updatePortal({ portalSlug, portalObj }) { + return axios.patch(`${this.url}/${portalSlug}`, portalObj); } deletePortal(portalSlug) { diff --git a/app/javascript/dashboard/components/layout/sidebarComponents/SecondaryNavItem.vue b/app/javascript/dashboard/components/layout/sidebarComponents/SecondaryNavItem.vue index 319aa5fc1..a15a92ddc 100644 --- a/app/javascript/dashboard/components/layout/sidebarComponents/SecondaryNavItem.vue +++ b/app/javascript/dashboard/components/layout/sidebarComponents/SecondaryNavItem.vue @@ -5,10 +5,6 @@ {{ $t(`SIDEBAR.${menuItem.label}`) }}