mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-12 02:00:40 +08:00
Handle template loading better
This commit is contained in:
@@ -702,8 +702,8 @@ export default function ControlPanel({
|
||||
});
|
||||
};
|
||||
const createNewDiagram = (id) => {
|
||||
localStorage.setItem("args", `${id}`);
|
||||
window.open("/editor", "_blank");
|
||||
const newWindow = window.open("/editor");
|
||||
newWindow.name = "lt " + id;
|
||||
};
|
||||
|
||||
const menu = {
|
||||
|
||||
Reference in New Issue
Block a user