[develop]: Remove topics from exported file in export indicators.
This commit is contained in:
parent
b34f42326c
commit
828dfc0671
|
@ -1354,9 +1354,10 @@ export class IndicatorsComponent extends IndicatorStakeholderBaseComponent imple
|
|||
let category = topic ? topic.categories[this.categoryIndex] : null;
|
||||
let subCategory = category ? category.subCategories[subcategoryIndex] : null;
|
||||
let json = {
|
||||
stakeholder: this.stakeholder,
|
||||
stakeholder: HelperFunctions.copy(this.stakeholder),
|
||||
indicators: indicators
|
||||
}
|
||||
delete json.stakeholder.topics;
|
||||
var jsonFileUrl = window.URL.createObjectURL(new Blob([JSON.stringify(json)], {type: 'application/json'}));
|
||||
var a = window.document.createElement('a');
|
||||
window.document.body.appendChild(a);
|
||||
|
|
Loading…
Reference in New Issue