Merge pull request #13817 from nextchamp-saqib/form-tour-position-fix

fix: handle case if position is not defined
This commit is contained in:
mergify[bot] 2021-08-04 09:23:49 +00:00 committed by GitHub
commit 29269cd01e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ frappe.ui.form.FormTour = class FormTour {
return {
element,
name,
popover: { title, description, position: frappe.router.slug(position) },
popover: { title, description, position: frappe.router.slug(position || 'Bottom') },
onNext: on_next
};
}