diff --git a/misc/config_tools/configurator/packages/configurator/src/pages/Config/Board.vue b/misc/config_tools/configurator/packages/configurator/src/pages/Config/Board.vue index 3454ea5a5..517343ec3 100644 --- a/misc/config_tools/configurator/packages/configurator/src/pages/Config/Board.vue +++ b/misc/config_tools/configurator/packages/configurator/src/pages/Config/Board.vue @@ -132,6 +132,10 @@ export default { let filepath = '' if (useNewFile) { filepath = this.newFilePath + if (filepath != this.currentSelectedBoard) { + configurator.removeFile(this.currentSelectedBoard) + .catch((err) => alert(`${err}`)) + } } else { filepath = this.currentSelectedBoard }