From 02a366f45b1d8a8f60a23ee74e1949a2972bcda5 Mon Sep 17 00:00:00 2001 From: AbleKSaju <126228406+AbleKSaju@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:27:36 +0530 Subject: [PATCH] fix: corrected routing for CouponCode --- src/utils/sidebarConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, },