Removed router parts; fixed duplicate file loads

This commit is contained in:
2025-06-15 18:15:39 -05:00
parent b49883f7b2
commit 64a6e14840
5 changed files with 5 additions and 9 deletions

View File

@@ -144,6 +144,8 @@ export class EditorsComponent {
for (let i = 0; i < paths.length; i++) {
let file = new File([], "") as NewtonFile;
if ( this.filesService.get(paths[i]) ) continue;
await this.filesService.addFile(paths[i], file);
this.filesService.addTab(file);
}