Fix reload page on file editor

This commit is contained in:
Lucio Maranta
2019-08-22 12:44:37 +02:00
parent f708b43cc0
commit af3eabbbc2
3 changed files with 5 additions and 6 deletions
@@ -113,6 +113,7 @@ export default class ModalLoadProgram extends Vue {
this.currentFilterSecond = "";
}
this.calcBreadCrumb(absolutePath);
this.cleanFileWatcher();
}
fillArray(destinationArray: Array<any>, sourceArray: Array<any>) {
@@ -244,7 +245,7 @@ export default class ModalLoadProgram extends Vue {
await awaiter(fileService.getFileInfo(str)));
this.currentPath = this.selectedFile.AbsolutePath.substring(0,this.selectedFile.AbsolutePath.lastIndexOf("\\"));
this.cleanFileWatcher();
}
beforeMount() {
@@ -319,8 +320,6 @@ export default class ModalLoadProgram extends Vue {
this.uploadAllFileInFolder = !this.uploadAllFileInFolder;
}
async cleanTempfolder(){
await awaiter(fileService.cleanTempFolder());
await awaiter (fileService.isTempFolderOK().then(response => {