From 8b4ad91bdd33d42af90c102eb499a132e1e6f13e Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 6 Jan 2025 12:53:58 +0530 Subject: [PATCH] fix: MC-2470 Remove extra . from Edit URL --- public/js/editor/diagram.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/editor/diagram.js b/public/js/editor/diagram.js index 6457bf3..6b81b22 100644 --- a/public/js/editor/diagram.js +++ b/public/js/editor/diagram.js @@ -19,7 +19,7 @@ export function Diagram({document, onOpenFrame, mcAccessToken}) { const onEdit = () => { onOpenFrame(buildUrl( - `/app/projects/${document.projectID}/diagrams/${document.documentID}/version/v.${document.major}.${document.minor}/edit`)); + `/app/projects/${document.projectID}/diagrams/${document.documentID}/version/v${document.major}.${document.minor}/edit`)); return false; };