|
|
@@ -905,7 +905,9 @@ export default {
|
|
|
let reportCustomData = this.$refs.reportCustom ? this.$refs.reportCustom.fromData : {} || {};
|
|
|
let reportCustomAnswers = [];
|
|
|
for (let i = 0; i < reportCustomData.length; i++) {
|
|
|
- let customData = reportCustomData[i].sfaReportCustomCollections;
|
|
|
+ let customData = reportCustomData[i].sfaReportCustomCollections
|
|
|
+ ? reportCustomData[i].sfaReportCustomCollections
|
|
|
+ : [];
|
|
|
for (let x = 0; x < customData.length; x++) {
|
|
|
if (
|
|
|
customData[x].reportCustomCollectionType == 'dx' ||
|