Skip to content

Commit ce07004

Browse files
authored
Merge pull request #128 from parteekcoder/fileHandler-fix
issue #127
2 parents fc5830e + b15a126 commit ce07004

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/toolbarActions/toolbarFunctions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async function saveGraphMLFile(state) {
9090
await stream.write(getGraphFun(state).saveToFolder());
9191
await stream.close();
9292
toast.success('File saved Successfully');
93-
} else if (graph.fileHandle === null) {
93+
} else if (!graph.fileHandle) {
9494
getGraphFun(state).saveWithoutFileHandle();
9595
} else {
9696
toast.info('Switch to Edge/Chrome!');

0 commit comments

Comments
 (0)