diff --git a/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue b/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue index 95ab26f733..45a0a32661 100644 --- a/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue +++ b/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue @@ -522,12 +522,7 @@ export default { } }, csvFiles() { - if (this.csvConfig && this.csvFiles) { - this.csvFiles.forEach(f => { - f.csvSplit = this.csvConfig[f.name]?.csvSplit; - f.csvHasHeader = this.csvConfig[f.name]?.csvHasHeader; - }); - } + this.refreshCsv(); } }, methods: { @@ -553,9 +548,18 @@ export default { this.properties = data.properties || []; this.systemProperties = data.systemProperties || []; this.csvConfig = data.csvConfig; + this.refreshCsv(); } }); }, + refreshCsv() { + if (this.csvConfig && this.csvFiles) { + this.csvFiles.forEach(f => { + f.csvSplit = this.csvConfig[f.name]?.csvSplit; + f.csvHasHeader = this.csvConfig[f.name]?.csvHasHeader; + }); + } + }, add(dataName) { if (dataName === 'domains') { this[dataName].push({