Skip to content

Commit f9becc0

Browse files
committed
Removed unused block of code
1 parent 19862d8 commit f9becc0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/components/Survey/Survey.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -251,14 +251,6 @@
251251
let exportVal = val;
252252
let usedList = [];
253253
let isAboutUrl = itemUrl;
254-
// eslint-disable-next-line no-prototype-builtins
255-
if (_.isObject(val) && !_.isArray(val) && !val.hasOwnProperty('unitCode') && !(val instanceof Blob)) { // to find sub-activities; condition might need to be changed
256-
const sectionItemKey = Object.keys(val)[0];
257-
const sectionItemValue = Object.values(val)[0];
258-
exportVal = sectionItemValue;
259-
usedList.push(sectionItemKey);
260-
isAboutUrl = sectionItemKey;
261-
}
262254
usedList.push(`${itemUrl}`, `${this.srcUrl}`);
263255
const d2 = new Date();
264256
const t1 = d2.toISOString();

0 commit comments

Comments
 (0)