diff --git a/src/utils/sidebarConfig.ts b/src/utils/sidebarConfig.ts index d506bc07..c040569f 100644 --- a/src/utils/sidebarConfig.ts +++ b/src/utils/sidebarConfig.ts @@ -219,7 +219,7 @@ function getCompleteSidebar(): SidebarConfig { { label: t`Coupon Code`, name: 'coupon-code', - route: `/list/CouponCode/CouponCode`, + route: `/list/CouponCode`, schemaName: 'CouponCode', hidden: () => !fyo.singles.AccountingSettings?.enableCouponCode, },