From 57b3a224f404f96bd1cc9492842bcfd4dfa9e4c5 Mon Sep 17 00:00:00 2001 From: sokumon Date: Fri, 3 Apr 2026 14:12:14 +0530 Subject: [PATCH] fix: private workspaces routting Co-authored-by: Rahul Agarwal <12agrawalrahul@gmail.com> --- frappe/public/js/frappe/router.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/router.js b/frappe/public/js/frappe/router.js index d98700073e..f8b5b5c034 100644 --- a/frappe/public/js/frappe/router.js +++ b/frappe/public/js/frappe/router.js @@ -173,8 +173,7 @@ frappe.router = { route = ["Workspaces", frappe.workspaces[route[0]].name]; } else if (route[0] == "private") { // private workspace - let private_workspace = - route[1] && frappe.router.slug(`${route[1]}-${frappe.user.name.toLowerCase()}`); + let private_workspace = route[1] && frappe.router.slug(`${route[1]}`); if (!frappe.workspaces[private_workspace]) { frappe.msgprint( __("Workspace {0} does not exist", [