Skip to content

Commit

Permalink
#721 - Fixing null value
Browse files Browse the repository at this point in the history
  • Loading branch information
graphefruit committed Jun 8, 2024
1 parent d75f745 commit bd26841
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/app/settings/settings.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1226,11 +1226,12 @@ export class SettingsPage implements OnInit {
const allBrewFlows: Array<{ BREW: Brew; FLOW: BrewFlow }> = [];
for await (const brew of allBrewsWithProfiles) {
const flow: BrewFlow = await this.readFlowProfile(brew);

allBrewFlows.push({
BREW: brew,
FLOW: flow,
});
if (flow) {
allBrewFlows.push({
BREW: brew,
FLOW: flow,
});
}
}

this.uiExcel.exportBrewByWeights(allBrewFlows);
Expand Down

0 comments on commit bd26841

Please sign in to comment.