From 548b1d94891ba2a118abb9cf9417b5c547ae9a8e Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Sun, 31 Mar 2024 23:34:15 +0530 Subject: [PATCH] fix: added docs link in sidebar --- .../src/components/Layouts/AppSidebar.vue | 43 ++++++++++++------- frontend/src/components/SidebarLink.vue | 3 +- 2 files changed, 30 insertions(+), 16 deletions(-) diff --git a/frontend/src/components/Layouts/AppSidebar.vue b/frontend/src/components/Layouts/AppSidebar.vue index f25b6092..5abe8488 100644 --- a/frontend/src/components/Layouts/AppSidebar.vue +++ b/frontend/src/components/Layouts/AppSidebar.vue @@ -76,21 +76,29 @@ - - - +
+ + + + +
@@ -113,6 +121,7 @@ import SidebarLink from '@/components/SidebarLink.vue' import Notifications from '@/components/Notifications.vue' import { viewsStore } from '@/stores/views' import { notificationsStore } from '@/stores/notifications' +import { FeatherIcon } from 'frappe-ui' import { useStorage } from '@vueuse/core' import { computed } from 'vue' @@ -222,4 +231,8 @@ function getIcon(routeName) { return PinIcon } } + +function openDocs() { + window.open('https://docs.frappe.io/crm', '_blank') +} diff --git a/frontend/src/components/SidebarLink.vue b/frontend/src/components/SidebarLink.vue index 976371fc..f8dae913 100644 --- a/frontend/src/components/SidebarLink.vue +++ b/frontend/src/components/SidebarLink.vue @@ -12,7 +12,8 @@ - + +