Fix reload page on file editor
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user