Skip to content

Commit

Permalink
fix: translation param
Browse files Browse the repository at this point in the history
  • Loading branch information
mananjadhav committed Sep 30, 2024
1 parent 1f23a03 commit 65f8753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/PolicyUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ function getNetSuiteImportCustomFieldLabel(
const importedTypes = Array.from(mappingSet)
.sort((a, b) => b.localeCompare(a))
.map((mapping) => translate(`workspace.netsuite.import.importTypes.${mapping}.label`).toLowerCase());
return translate(`workspace.netsuite.import.importCustomFields.label`, importedTypes);
return translate(`workspace.netsuite.import.importCustomFields.label`, {importedTypes});
}

function isNetSuiteCustomSegmentRecord(customField: NetSuiteCustomList | NetSuiteCustomSegment): boolean {
Expand Down

0 comments on commit 65f8753

Please sign in to comment.