chore: format
Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit ddc0d6007c2dd93a177717eec4178fb4db4d3620)
This commit is contained in:
parent
bdaa979159
commit
6aeccbb669
1 changed files with 4 additions and 2 deletions
|
|
@ -24,8 +24,10 @@ class NavbarSettings(Document):
|
|||
|
||||
|
||||
def get_app_logo():
|
||||
app_logo = frappe.get_website_settings("app_logo") or frappe.db.get_single_value("Navbar Settings", "app_logo", cache=True)
|
||||
|
||||
app_logo = frappe.get_website_settings("app_logo") or frappe.db.get_single_value(
|
||||
"Navbar Settings", "app_logo", cache=True
|
||||
)
|
||||
|
||||
if not app_logo:
|
||||
logos = frappe.get_hooks("app_logo_url")
|
||||
app_logo = logos[0]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue