-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(FSADT1-1086): Email Address Pattern Found
- Obfuscated email #3
- Loading branch information
1 parent
0c26129
commit 1018ed1
Showing
4 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<script setup lang="ts"> | ||
import { ref, watchEffect, getCurrentInstance } from "vue"; | ||
import { getMailtoLink, getObfuscatedEmail } from "@/services/ForestClientService"; | ||
import { openMailtoLink, getObfuscatedEmail } from "@/services/ForestClientService"; | ||
// Carbon | ||
import "@carbon/web-components/es/components/button/index"; | ||
|
@@ -243,7 +243,9 @@ const adminEmail = "[email protected]"; | |
<cds-modal-body> | ||
<p> | ||
Can’t proceed with your application? Let us know by emailing your issue to | ||
<a v-bind:href="getMailtoLink(adminEmail)" v-bind:innerHTML="getObfuscatedEmail(adminEmail)"></a> | ||
<button class="link-button" @click="openMailtoLink(adminEmail)" aria-label="Contact Admin via Email"> | ||
<span v-bind:innerHTML="getObfuscatedEmail(adminEmail)"></span> | ||
</button> | ||
</p> | ||
</cds-modal-body> | ||
</cds-modal> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ import { submissionValidation } from "@/helpers/validators/SubmissionValidators" | |
import { retrieveClientType, exportAddress } from "@/helpers/DataConversors"; | ||
// Importing session | ||
import ForestClientUserSession from "@/helpers/ForestClientUserSession"; | ||
import { getEnumKeyByEnumValue, getMailtoLink, getObfuscatedEmail } from "@/services/ForestClientService"; | ||
import { getEnumKeyByEnumValue, openMailtoLink, getObfuscatedEmail } from "@/services/ForestClientService"; | ||
//Defining the props and emiter to reveice the data and emit an update | ||
const props = defineProps<{ data: FormDataDto; active: boolean }>(); | ||
|
@@ -299,7 +299,9 @@ const bcRegistryEmail = "[email protected]"; | |
<li class="body-compact-01"> | ||
If your name isn’t there, call BC Registry toll free at | ||
<a href="tel:18775261526">1-877-526-1526</a> or email them at | ||
<a v-bind:href="getMailtoLink(bcRegistryEmail)" v-bind:innerHTML="getObfuscatedEmail(bcRegistryEmail)"></a>. | ||
<button class="link-button" @click="openMailtoLink(bcRegistryEmail)" aria-label="Contact BC Registry via Email"> | ||
<span v-bind:innerHTML="getObfuscatedEmail(bcRegistryEmail)"></span> | ||
</button>. | ||
</li> | ||
</ol> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters