From e06d110cbcc971b79e1edc1a504210350ec3ab0e Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Sun, 4 Feb 2024 16:56:10 +0530 Subject: [PATCH] fix: added tasks in sidebar & router.js --- frontend/src/components/Layouts/AppSidebar.vue | 6 ++++++ frontend/src/router.js | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/frontend/src/components/Layouts/AppSidebar.vue b/frontend/src/components/Layouts/AppSidebar.vue index aff93339..615823ac 100644 --- a/frontend/src/components/Layouts/AppSidebar.vue +++ b/frontend/src/components/Layouts/AppSidebar.vue @@ -105,6 +105,7 @@ import DealsIcon from '@/components/Icons/DealsIcon.vue' import ContactsIcon from '@/components/Icons/ContactsIcon.vue' import OrganizationsIcon from '@/components/Icons/OrganizationsIcon.vue' import NoteIcon from '@/components/Icons/NoteIcon.vue' +import TaskIcon from '@/components/Icons/TaskIcon.vue' import PhoneIcon from '@/components/Icons/PhoneIcon.vue' import CollapseSidebar from '@/components/Icons/CollapseSidebar.vue' import NotificationsIcon from '@/components/Icons/NotificationsIcon.vue' @@ -146,6 +147,11 @@ const links = [ icon: NoteIcon, to: 'Notes', }, + { + label: 'Tasks', + icon: TaskIcon, + to: 'Tasks', + }, { label: 'Call Logs', icon: PhoneIcon, diff --git a/frontend/src/router.js b/frontend/src/router.js index adc3f17f..06129b76 100644 --- a/frontend/src/router.js +++ b/frontend/src/router.js @@ -37,6 +37,11 @@ const routes = [ name: 'Notes', component: () => import('@/pages/Notes.vue'), }, + { + path: '/tasks', + name: 'Tasks', + component: () => import('@/pages/Tasks.vue'), + }, { path: '/contacts', name: 'Contacts',