Added github download redirect handler for raw.githubusercontent.com

This commit is contained in:
frikky
2021-12-31 16:54:12 +01:00
parent e386709118
commit 5342a19e38
8 changed files with 27 additions and 85 deletions
+1 -1
View File
@@ -2059,7 +2059,7 @@ const AngularWorkflow = (props) => {
const parentNode = cy.getElementById(data.attachedTo);
if (parentNode !== null && parentNode !== undefined) {
var newNodeData = JSON.parse(JSON.stringify(parentNode.data()));
newNodeData.id = uuidv4.v4();
newNodeData.id = uuidv4();
if (newNodeData.position !== undefined) {
newNodeData.position = {
x: newNodeData.position.x + 100,