File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,7 +160,11 @@ export default {
160160 && question .extraSettings .questionType === ' radio'
161161 ) {
162162 squashedAnswers = Object .keys (gridValue)
163- .filter ((key ) => optionsPerId[key] && optionsPerId[gridValue[key]])
163+ .filter (
164+ (key ) =>
165+ optionsPerId[key]
166+ && optionsPerId[gridValue[key]],
167+ )
164168 .map ((key ) => {
165169 return (
166170 optionsPerId[key].text
@@ -174,16 +178,17 @@ export default {
174178 && question .extraSettings .questionType === ' checkbox'
175179 ) {
176180 squashedAnswers = Object .keys (gridValue)
177- .filter ((key ) => optionsPerId[key] && Array .isArray (gridValue[key]))
181+ .filter (
182+ (key ) =>
183+ optionsPerId[key]
184+ && Array .isArray (gridValue[key]),
185+ )
178186 .map ((key ) => {
179187 return (
180188 optionsPerId[key].text
181189 + ' : '
182190 + gridValue[key]
183- .filter (
184- (optionId ) =>
185- optionsPerId[optionId],
186- )
191+ .filter ((optionId ) => optionsPerId[optionId])
187192 .map (
188193 (optionId ) =>
189194 optionsPerId[optionId].text ,
You can’t perform that action at this time.
0 commit comments