From ffba3c3065549b02a1554e2f47223b58c8270c59 Mon Sep 17 00:00:00 2001 From: volodymyr Date: Tue, 5 Mar 2024 19:38:21 +0200 Subject: [PATCH] feature: startPageHref on logo added [WTEL-4252] --- .env | 1 + .env.development | 1 + src/app/components/the-crm-workspace.vue | 10 +++++++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 783605fc..3be4fe3c 100644 --- a/.env +++ b/.env @@ -14,3 +14,4 @@ VITE_OMNI_WIDGET_URL = '/omni-widget' VITE_FLOW_DIAGRAM_URL = '/flow-diagram' VITE_SETTINGS_URL = '/settings' +VITE_START_PAGE_URL = '/' diff --git a/.env.development b/.env.development index ceb8ca81..11db6ac4 100644 --- a/.env.development +++ b/.env.development @@ -14,3 +14,4 @@ VITE_OMNI_WIDGET_URL = 'https://dev.webitel.com/omni-widget' VITE_FLOW_DIAGRAM_URL = 'https://dev.webitel.com/flow-diagram' VITE_SETTINGS_URL = 'https://dev.webitel.com/settings' +VITE_START_PAGE_URL = 'https://dev.webitel.com' diff --git a/src/app/components/the-crm-workspace.vue b/src/app/components/the-crm-workspace.vue index 01c01f62..05d9fb02 100644 --- a/src/app/components/the-crm-workspace.vue +++ b/src/app/components/the-crm-workspace.vue @@ -8,9 +8,11 @@ :nav="nav" :dark-mode="darkMode" /> - + + + store.getters['appearance/DARK_MODE']); const { t } = useI18n(); +const startPageHref = computed(() => import.meta.env.VITE_START_PAGE_URL); + const apps = computed(() => { const agent = { name: WebitelApplications.AGENT,