Merge pull request #28010 from frappe/revert-27881-login_ws_fix
Revert "fix: reroute to /app when loggedin user does not have access to defau…"
This commit is contained in:
commit
8983b13a3f
1 changed files with 0 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue