save project name after loading from file
This commit is contained in:
parent
d4dcd9bc28
commit
6b8dde5411
@ -72,6 +72,8 @@ export class ProjectSaveHandler {
|
|||||||
);
|
);
|
||||||
|
|
||||||
this.projectName.value = code.name;
|
this.projectName.value = code.name;
|
||||||
|
sessionStorage.setItem("project-name", code.name);
|
||||||
|
|
||||||
const dec = new TextDecoder();
|
const dec = new TextDecoder();
|
||||||
this.editor.setValue(dec.decode(code.content));
|
this.editor.setValue(dec.decode(code.content));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user