Skip to content

Commit

Permalink
Merge conflict. Simple integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdctaka committed Nov 14, 2023
1 parent 0684db5 commit d62c587
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions src/commands/wizard/lwcGenerationCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,21 +80,17 @@ export class LwcGenerationCommand {
{
type: 'getQuickActionStatus',
action: async (_panel, _data, callback) => {
const layoutFields =
await OrgUtils.getCompactLayoutFieldsForSObject(
'Contact'
);

// TODO: Hook this up to function that parses landing_page.json.
const sobjects = [
'Account',
'Contact',
'Opportunity',
'SomeOther'
];
if (callback) {
const quickActionStatus =
await LwcGenerationCommand.checkForExistingQuickActions();

for (const key in quickActionStatus.sobjects) {
const layoutFields =
await OrgUtils.getCompactLayoutFieldsForSObject(
key
);
}

callback(quickActionStatus);
}
}
Expand Down

0 comments on commit d62c587

Please sign in to comment.