Skip to content

Commit

Permalink
Add new methods 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandros12345 committed Apr 21, 2024
1 parent 2edf123 commit edf1652
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/modules/bar/bar.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ export class BarService {
if (report) {
const answers = report.answers
.map((answer) => {
return setting.answers[answer];
if (setting) {
return setting.answers[answer];
} else {
return [];
}
})
.filter((answer) => {
return answer !== undefined;
Expand Down

0 comments on commit edf1652

Please sign in to comment.