Skip to content

Commit

Permalink
fix: fixed fuzzy match field association
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Aug 15, 2024
1 parent ea0edcb commit 47ecdca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, reactive, ref, watch } from "vue";
import { computed, ref } from "vue";
// Carbon
import "@carbon/web-components/es/components/notification/index";
// Composables
Expand Down Expand Up @@ -62,8 +62,6 @@ const fieldNameToNamingGroups : Record<string, string> = {
"businessInformation.firstName",
"businessInformation.lastName",
"businessInformation.birthdate",
"businessInformation.identificationType",
"identificationProvince.text",
"businessInformation.clientIdNumber",
],
"businessInformation.clientIdentification": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,26 +184,18 @@ describe("Fuzzy Match Notification Grouping Component", () => {
fuzzy: false,
expectedFieldIdList: [
"businessInformation.firstName",
"businessInformation.lastName",
"businessInformation.birthdate",
"businessInformation.identificationType",
"businessInformation.clientTypeOfId",
"businessInformation.clientIdNumber",
"identificationType.text",
"identificationProvince.text",
"businessInformation.clientIdentification",
"businessInformation.lastName",
"businessInformation.birthdate",
"businessInformation.clientIdNumber",
],
},
{
field: "businessInformation.clientIdentification",
fuzzy: false,
expectedFieldIdList: [
"businessInformation.identificationType",
"businessInformation.clientTypeOfId",
"businessInformation.clientIdNumber",
"identificationType.text",
"identificationProvince.text",
"businessInformation.clientIdentification",
"businessInformation.clientIdNumber",
],
},
];
Expand Down

0 comments on commit 47ecdca

Please sign in to comment.