Skip to content

Commit

Permalink
Merge branch 'release/5.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
nsteenbeek committed Aug 23, 2021
2 parents fbd4284 + 338fc09 commit 721e571
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hso/d365-cli",
"version": "5.4.0",
"version": "5.4.1",
"author": "HSO Innovation <[email protected]> (http://www.hso.com)",
"description": "HSO D365 Command Line Interface",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/generator/ControlFormContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class ControlFormContext {
private async getXrmControlType(attributeMetadata: AttributeMetadata, type: number, id: string): Promise<string> {
if (attributeMetadata) {
const {AttributeType: attributeType} = attributeMetadata;
if (['String', 'Memo', 'DateTime', 'Customer', 'Owner', 'Uniqueidentifier'].includes(attributeType)) {
if (['String', 'Memo', 'Customer', 'Owner', 'Uniqueidentifier'].includes(attributeType)) {
return 'Xrm.Controls.StringControl';
} else if (['DateTime'].includes(attributeType)) {
return 'Xrm.Controls.DateControl';
Expand Down

0 comments on commit 721e571

Please sign in to comment.