Skip to content

Commit

Permalink
fix: use elementId as fallback displayName of form elements (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcooney authored Apr 13, 2023
1 parent d9d6081 commit b88bdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compilerUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ function getElementMetadata(registrationDeclaration, suiteUuid) {
return {
deprecated: elementTags.deprecated,
description: elementTags.description,
displayName: elementTags.displayName,
displayName: elementTags.displayName || toPascalCase(elementId),
helpUrl: elementTags.helpUrl,
id: elementId,
inputs,
Expand Down

0 comments on commit b88bdec

Please sign in to comment.