From 4f6a63a0d940afd6f2b4b774253d56364d07473e Mon Sep 17 00:00:00 2001 From: Sumit Bhanushali Date: Mon, 7 Oct 2024 17:16:44 +0530 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20reroute=20to=20/app=20when=20l?= =?UTF-8?q?oggedin=20user=20does=20not=20have=20access=20to=20defau?= =?UTF-8?q?=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frappe/public/js/frappe/router.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/frappe/public/js/frappe/router.js b/frappe/public/js/frappe/router.js index 01f8443081..6182f4edb7 100644 --- a/frappe/public/js/frappe/router.js +++ b/frappe/public/js/frappe/router.js @@ -137,15 +137,6 @@ frappe.router = { } if (this.re_route(sub_path)) return; - if (!frappe.workspaces[sub_path]) { - let is_workspace = await frappe.db.get_value("Workspace", sub_path, "name"); - is_workspace = is_workspace.message.name; - - if (is_workspace) { - frappe.set_route(["app"]); - } - } - this.current_sub_path = sub_path; this.current_route = await this.parse(); this.set_history(sub_path);