From 37927caf3eac70b40d57a0d1d8eaf98531a21635 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Thu, 28 Nov 2019 00:08:28 +0530 Subject: [PATCH] fix: Route to first report on Report click --- src/sidebarConfig.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sidebarConfig.js b/src/sidebarConfig.js index 2066cbe2..f721b4b7 100644 --- a/src/sidebarConfig.js +++ b/src/sidebarConfig.js @@ -84,6 +84,9 @@ const config = { { title: _('Reports'), icon: getIcon('reports'), + action() { + router.push('/report/general-ledger'); + }, items: [ { label: _('General Ledger'),