Skip to content

Commit

Permalink
Merge branch 'release/5.11.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
nsteenbeek committed Feb 15, 2022
2 parents 95831aa + 9fb967b commit fafa95d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 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.11.3",
"version": "5.11.4",
"author": "HSO Innovation <[email protected]> (https://www.hso.com)",
"description": "Dynamics 365 Command Line Interface for TypeScript projects for Dataverse",
"repository": {
Expand Down
5 changes: 3 additions & 2 deletions src/commands/generators/ControlFormContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export class ControlFormContext {
public static async generateFormContext(bearer: string, entityName: string, entityLogicalName: string,
log: (message: string) => Promise<void>, systemForm: SystemFormModel): Promise<void> {
const formContext = new ControlFormContext(bearer, entityName, entityLogicalName, log);
console.log('generateFormContext');
await formContext.writeFormContextFile(systemForm);
}

Expand Down Expand Up @@ -156,7 +155,9 @@ export class ControlFormContext {
return 'Xrm.Controls.NumberControl';
}
}
if (type === 5) {
if (type === 4) {
return 'Xrm.Controls.OptionSetControl';
} else if (type === 5) {
return 'Xrm.Controls.GridControl';
} else if (type === 6) {
return 'Xrm.Controls.FramedControl';
Expand Down
4 changes: 3 additions & 1 deletion src/commands/generators/FormTypings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ export class FormTypings {
return 'Xrm.Controls.NumberControl';
}
}
if (type === 5) {
if (type === 4) {
return 'Xrm.Controls.OptionSetControl';
} else if (type === 5) {
return 'Xrm.Controls.GridControl';
} else if (type === 6) {
return 'Xrm.Controls.FramedControl';
Expand Down

0 comments on commit fafa95d

Please sign in to comment.