Skip to content

Commit

Permalink
Merge pull request #818 from odisha-muktasoft/UCEM-1054-1
Browse files Browse the repository at this point in the history
changed the masking pattern
  • Loading branch information
Tulika-eGov authored Dec 5, 2024
2 parents 0b82af9 + 65e7b9b commit 48fa7b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const transformViewDataToApplicationDetails = async (t, data, tenantId) => {
const GSTIN = organisation?.identifiers?.find(item => item?.isActive && item?.type === 'GSTIN')

const getAddressMasked = (value) => {
return value.replace(/(?<=.{1}).(?=.{1})/g, '*');
return value.replace(/(?<=.{1})./g, '*');
}
const orgDetails = [
{
Expand Down

0 comments on commit 48fa7b2

Please sign in to comment.