fix(desktop_icon): use app_name instead of app_title
This commit is contained in:
parent
9dcffad232
commit
c6338799e3
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ def auto_generate_icons_and_sidebar(app_name=None):
|
|||
|
||||
def delete_desktop_icon_and_sidebar(app_name, dry_run=False):
|
||||
frappe.get_hooks(app_name=app_name)
|
||||
app_title = frappe.get_hooks(app_name=app_name)["app_title"][0]
|
||||
app_title = frappe.get_hooks("app_name", app_name=app_name)[0]
|
||||
icons_to_be_deleted = frappe.get_all(
|
||||
"Desktop Icon",
|
||||
pluck="name",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue