Skip to content

Commit

Permalink
Merge pull request #121 from acrosman/feature/issue-97
Browse files Browse the repository at this point in the history
Reset schema when processing describes results
  • Loading branch information
acrosman authored Jan 13, 2022
2 parents 4b75976 + 1ac6bf5 commit 7cdbdcd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sf_calls.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,9 @@ const handlers = {
let completedObjects = 0;
const allObjects = {};

// Reset the proposed schema back to baseline.
proposedSchema = {};

// Log status
logMessage('Schema', 'Info', `Fetching schema for ${args.objects.length} objects`);
mainWindow.webContents.send('update_loader', { message: `Loaded ${completedObjects} of ${args.objects.length} Object Describes` });
Expand Down

0 comments on commit 7cdbdcd

Please sign in to comment.