Merge pull request #38557 from gajjug004/fix/onboarding-shown-when-disabled
This commit is contained in:
commit
876bf3a6b2
1 changed files with 3 additions and 0 deletions
|
|
@ -682,6 +682,9 @@ def get_onboarding_data(module: str):
|
|||
Return:
|
||||
dict: onboarding data
|
||||
"""
|
||||
if not frappe.get_system_settings("enable_onboarding"):
|
||||
return []
|
||||
|
||||
onboardings = []
|
||||
onboarding_doc = frappe.get_doc("Module Onboarding", module)
|
||||
if onboarding_doc.is_complete:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue