diff --git a/src/components/Process/Workers/Configurations/List.vue b/src/components/Process/Workers/Configurations/List.vue index a5733cef8413c5e9f509cd816c7118f6655a4d95..96055fe20427c192c2cf7d59106dc1d0120fde31 100644 --- a/src/components/Process/Workers/Configurations/List.vue +++ b/src/components/Process/Workers/Configurations/List.vue @@ -342,8 +342,10 @@ export default { * potential race condition as updateWorkerRun causes workerId to be re-computed when a * configuration is first saved for a newly added worker run, which triggers * retrieveConfigurations again through a watcher. + * When removing a configuration, selectedConfigurationId is null. */ - const configurationName = this.workerConfigurations[this.workerId][this.selectedConfigurationId].name + let configurationName = '' + if (this.selectedConfigurationId) configurationName = this.workerConfigurations[this.workerId][this.selectedConfigurationId].name try { await this.updateWorkerRun({ processId: this.processId,