Skip to content

Commit c246154

Browse files
updates
1 parent 9674640 commit c246154

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

  • controls/pcfcontroldemo/MultiSelectControl

controls/pcfcontroldemo/MultiSelectControl/index.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,8 @@ export class MultiSelectPCFControl implements ComponentFramework.StandardControl
114114

115115
return this._context.webAPI.retrieveMultipleRecords(this.props.entityName,qs)
116116
.then(function (results) {
117-
return results?.entities.map(val => ({
118-
accountid: val.accountid,
119-
name: val.name
120-
}));
121-
122-
});
123-
117+
return results?.entities;
118+
});
124119
}
125120

126121
private renderElement()

0 commit comments

Comments
 (0)