fix(onboarding): hide onboarding card on mobile (#38453)

This commit is contained in:
Nikhil Kothari 2026-04-07 15:13:15 +05:30 committed by GitHub
parent 2cb6c5edcc
commit 5fb76f30a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -195,7 +195,7 @@ frappe.ui.Sidebar = class Sidebar {
}
this.remove_onboarding_wrapper();
if (module_name) {
if (module_name && !frappe.is_mobile()) {
if (
this?.onboarding_widget[module_name] &&
this.onboarding_widget[module_name].hide_panel