fix file save cancellation
This commit is contained in:
parent
4ba89c62fb
commit
7da053eb9c
|
|
@ -81,11 +81,10 @@ export async function saveFile(name = undefined) {
|
|||
emitEvent("fileSave:nameDesign");
|
||||
const nameEvent = await awaitEvent("fileSave:nameDesign:named");
|
||||
name = nameEvent.detail;
|
||||
console.log(nameEvent)
|
||||
}
|
||||
|
||||
if (!name) {
|
||||
name = "unnamed";
|
||||
return;
|
||||
}
|
||||
|
||||
const multiblockType = getPlannerMultiblockType();
|
||||
|
|
|
|||
Loading…
Reference in New Issue