fix: typeerror in onboarding_tours.js
This commit is contained in:
parent
53d6d156ec
commit
e7b3a785c1
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ frappe.ui.init_onboarding_tour = () => {
|
|||
typeof frappe.boot.user.onboarding_status == "undefined" &&
|
||||
frappe.boot.user.onboarding_status == {};
|
||||
let route = frappe.router.current_route;
|
||||
if (route[0] === "") return;
|
||||
if (route?.[0] === "") return;
|
||||
|
||||
let tour_name;
|
||||
let matching_tours = [];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue