fix: Can't navigate to webpage with name same as private workspace
This commit is contained in:
parent
68263b8663
commit
b96b4c90f7
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ frappe.router = {
|
|||
if (frappe.workspaces[route[0]]) {
|
||||
// public workspace
|
||||
route = ['Workspaces', frappe.workspaces[route[0]].title];
|
||||
} else if (frappe.workspaces[route[1]]) {
|
||||
} else if (route[0] == 'private' && frappe.workspaces[route[1]]) {
|
||||
// private workspace
|
||||
route = ['Workspaces', 'private', frappe.workspaces[route[1]].title];
|
||||
} else if (this.routes[route[0]]) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue