diff --git a/src/Models/Denomination.ts b/src/Models/Denomination.ts index 4a7b13c12..51ccb3715 100644 --- a/src/Models/Denomination.ts +++ b/src/Models/Denomination.ts @@ -183,7 +183,7 @@ export class Denomination { } function substr(key) { - if (this.prefix) { + if (self.prefix) { return value.substring(key.length).trim() } let trimmed = value.substring(0, value.length - key.length).trim()