updating state while upload

This commit is contained in:
sanjayk03-dev
2024-01-22 23:58:02 +05:30
parent b01733d09b
commit 31f5d1a6b8

View File

@@ -104,6 +104,9 @@ module.exports = {
console.log('Already exists'); console.log('Already exists');
} }
this.$set('selectedValues[this.tab - 1]',file.name);
this.loadMacrosGcode();
SvelteComponents.showDialog("Upload", { SvelteComponents.showDialog("Upload", {
file, file,
onComplete: () => { onComplete: () => {