Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Aug 19, 2024
1 parent 32a3139 commit aa7356f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/survey-creator-core/src/editorLocalization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export class EditorLocalization {
return res;
}
private getValueInternal(value: any, prefix: string, locale: string = null): string {
if (!value || value.indexOf(".") > -1) return "";
if (!value || (value.indexOf && value.indexOf(".") > -1)) return "";
value = value.toString();
const res = this.getString(prefix + "." + value, locale);
if (!!res) return res;
Expand Down

0 comments on commit aa7356f

Please sign in to comment.