Skip to content

Commit

Permalink
Add missing Skip output option in the CSV_LOOKUP component
Browse files Browse the repository at this point in the history
  • Loading branch information
fttx committed Jul 6, 2020
1 parent 62fa06b commit b803009
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ionic/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,18 @@ export class MyApp {
})
}

// v3.11.1
if (settings.outputProfiles) {
settings.outputProfiles.forEach(outputProfile => {
outputProfile.outputBlocks.forEach(outputBlock => {
// skip output
if (outputBlock.type == 'csv_lookup' && typeof outputBlock.skipOutput == 'undefined') {
outputBlock.skipOutput = false;
}
});
})
}

// Upgrade output profiles
if (typeof settings.outputProfiles == 'undefined') {
settings.outputProfiles = new SettingsModel().outputProfiles;
Expand Down

0 comments on commit b803009

Please sign in to comment.