From f50943676cca3931d2f5901444ed3aed8b220801 Mon Sep 17 00:00:00 2001 From: Dima May Date: Mon, 10 Jun 2024 19:55:38 +0000 Subject: [PATCH] #2490: validate that contact project button does not exist when email service is not enabled --- .../src/components/myProgress/MyProjectSkillsPage.vue | 4 +++- e2e-tests/cypress/e2e/my-progress_spec.js | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dashboard-prime/src/components/myProgress/MyProjectSkillsPage.vue b/dashboard-prime/src/components/myProgress/MyProjectSkillsPage.vue index 5cf329da3b..63ee036947 100644 --- a/dashboard-prime/src/components/myProgress/MyProjectSkillsPage.vue +++ b/dashboard-prime/src/components/myProgress/MyProjectSkillsPage.vue @@ -8,11 +8,13 @@ import { useSkillsDisplayThemeState } from '@/skills-display/stores/UseSkillsDis import { useWindowSize } from '@vueuse/core' import ResponsiveBreakpoints from '@/components/utils/misc/ResponsiveBreakpoints.js' import ContactOwnersDialog from '@/components/myProgress/ContactOwnersDialog.vue' +import { useAppInfoState } from '@/stores/UseAppInfoState.js' const route = useRoute() const projectId = route.params.projectId const skillsDisplayAttributes = useSkillsDisplayAttributesState() const themeState = useSkillsDisplayThemeState() +const appInfo = useAppInfoState() const windowSize = useWindowSize() const currentWidth = ref(windowSize.width) @@ -70,7 +72,7 @@ const handleProjInvitation = () => {